Replies: 2 comments 4 replies
-
looks like a cookie/domain mismatch; being on plain http may be an issue and you probably also want to upgrade to a recent release |
Beta Was this translation helpful? Give feedback.
0 replies
-
I did manage to access the page and added few more settings in my configuration. I want to retrieve the token and create a new header :
When looking at the logs I see
Howver I do not see any new header set in my requests nor I can access the access_token from environmental variables. Why is "RequestHeader set Authorization "Bearer %{OIDC_access_token}e"" not working ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am relatively new to authentication in apache and trying to start my journey by adding a simple configuration to a mere index.html page. However, I am facing an issue while trying to parse the JWT token.
The current error that I get from the browser is
The server encountered an internal error or misconfiguration and was unable to complete your request
While looking at the error logs I get
My configuration file is in triple quotes below :
"""
LoadModule auth_openidc_module /usr/lib/apache2/modules/mod_auth_openidc.so
OIDCProviderMetadataURL https://welll-known/openid-configuration
AuthType openid-connect Require valid-user LogLevel debug """OIDCRedirectURI http://localhost/auth/callback
OIDCScope "openid profile"
OIDCClientID CLIENT_ID
OIDCClientSecret secret
OIDCCryptoPassphrase "tA!2bC&4dEfGhI6jKlMnOpQrStUvXwZy"
OIDCProviderTokenEndpointAuth client_secret_post
OIDCSessionType client-cookie
OIDCCookiePath /
OIDCStateTimeout 300
I am running ubuntu server, but I would like that the solution applies for Centos7 too if possible.
Beta Was this translation helpful? Give feedback.
All reactions