Skip to content
Discussion options

You must be logged in to vote

I think I can answer my own question, hope this helps the next person. This configuration seems to work for Azure Entra ID with the server behind a corporate proxy. The module fetches and caches the signing key in shared memory, unpacks the JWKS token, verifies the signature, then sends the claims along in headers. This does not verify the issuer.

# oauth2_cache_shm_check_value: could not store value since value size is too large (9720 > 8192)
OAuth2Cache shm max_val_size=16384

<Location "/protected/by/oauth2/">

    AuthType oauth2

    # Use Azure directory (tenant) ID in the jwks_uri
    OAuth2TokenVerify \
        jwks_uri https://login.microsoftonline.com/00000000-0000-0000-0000-000…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@chrisinmtown
Comment options

@zandbelt
Comment options

Comment options

You must be logged in to vote
1 reply
@chrisinmtown
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by chrisinmtown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants