-
I am running Apache in the official Docker container with mod_auth_openiodc installed and configured. I am trying to validate a token from the client web application, generated by our corporate AD in Azure. The token is seen and parsed by mod_auth_openidc, but is somehow not able to validate the token. Here is the configuration:
Here is the error log output:
I was able to write a Python script that is able to parse and validate the token completely using the generic metadata url, the client ID and the token, so the secret should not be necessary, and the keys can be retrieved from the key discovery URL. Here is the Python script:
This is the Dockerfile for this proxy:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
since you're using OAuth 2.0 RS functionality (mixed with OpenID Connect functionality, through |
Beta Was this translation helpful? Give feedback.
since you're using OAuth 2.0 RS functionality (mixed with OpenID Connect functionality, through
AuthType auth-openidc
) you'll need to setOIDCOAuthServerMetadataURL
to configure the OAuth 2.0 settings in addition toOIDCProviderMetadataURL
, the latter configuring only the OpenID Connect side of things