Repository navigation
Request sample configuration for Azure AD aka Entra ID ideally with proxy #87
|
I use openIDC/mod_auth_openidc, works great. Now my project has to start accepting tokens from Azure AD aka Entra ID. I'd like to delegate the task of processing a JWKS token to this Apache module. I've been reading and re-reading the source file oauth2.conf, trying to puzzle out exactly which entries are required to accept a token that a client obtains from Azure AD aka Entra ID. One thing in particular that I cannot find is an equivalent to I see this closed issue mentions use of an outgoing proxy: #25 So maybe the example conf file just needs to be extended for the option Would someone please post a minimal example of what goes into httpd-ssl.conf to make this work? Should I create an issue? Thanks in advance. |
Replies: 4 comments 3 replies
|
I'm especially struggling with providing the valid issuer to |
|
the issue gets set when using OAuth 2.0 Server Metadata; when you're only using 1 provider and you have configured the key or introspection endpoint of that provider, the issuer validation doesn't add anything |
|
just added the docs on the outgoing proxy here d6abe49 |
|
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. |
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.