Merge branch 'zitadel:main' into main
This commit is contained in:
commit
87a37b219f
7 changed files with 36 additions and 19 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue