Closed
Description
According to the example apache config, I can force strict issuer verification with the verify.iss=required
option. However, when I set this option to required
it fails, while it succeeds with optional
.
My config looks like this:
OAuth2TokenVerify metadata https://<domain>/.well-known/openid-configuration metadata.ssl_verify=false&verify.iss=required
One interesting excerpt from the logs:
[Wed Apr 19 11:53:49.360956 2023] [oauth2:debug] [pid 110463:tid 140637177321216] src/jose.c(1040): [client 127.0.0.1:52514] _oauth2_jose_jwt_validate_iss: enter: iss=(null), validate=required
This suggests to me that the value of iss
is not passed along.
I'm using KeyCloak as my IdP and verified that the iss
field in token corresponds with the issuer
field in the metadata.
Metadata
Metadata
Assignees
Labels
No labels