fix(gateway): set jwksUrl so the dispatcher builds a validator
cmd/gateway/main.go:144 constructs the adapter validator only when both cfg.Auth.Enabled and cfg.Auth.JWKSURL are set. The config left jwksUrl unset on purpose, so jwtValidator stayed nil and every adapter request passed with one warning line: auth required but jwtValidator nil; request unauthenticated That made auth.required cosmetic: sqs, workflow, memory, s3 and iam all answered unauthenticated calls. Set the JWKS URL to the ZITADEL key endpoint.
This commit was merged in pull request #68.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user