-
I'm trying to verify the user identity when using Cloudflare Zero Trust. Cloudflare is sending the identity in a JWT in a Although this module is named around oauth2, it seems like I can use it to validate any JWT passed in. I configured it as follows and it seems to be validating the CF JWT as expected:
Firstly, is this a supported use? Secondly, is there a way to set the expected ISS and AUD values when using jwks_uri so that I can verify those claims? Many thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
this is a support use case, however there's no way to extend the one could configure |
Beta Was this translation helpful? Give feedback.
this is a support use case, however there's no way to extend the
jwks_uri
validation withiss
andaud
;iss
validation applies only when using OAuth 2.0 compliantOAuth2TokenVerify metadata
one could configure
Require oauth2_claim aud:<value
etc.