Merge branch 'zitadel:main' into main

This commit is contained in:
David Sharnoff 2022-10-24 14:24:22 -07:00 committed by GitHub
commit 87a37b219f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 36 additions and 19 deletions

View file

@ -62,7 +62,7 @@ func main() {
// protected url which needs an active token and checks if the response of the introspect endpoint
// contains a requested claim with the required (string) value
// e.g. /protected/username/livio@caos.ch
// e.g. /protected/username/livio@zitadel.example
router.HandleFunc(protectedClaimURL, func(w http.ResponseWriter, r *http.Request) {
ok, token := checkToken(w, r)
if !ok {