Replies: 3 comments 4 replies
-
Looks like mod_auth_openidc code flow does not work with OIDCProviderTokenEndpointAuth client_secret_basic. If I change to OIDCProviderTokenEndpointAuth client_secret_post I got another error (401 unauthorized), because my provider does not support this client authentication method. Any chances to fix this? |
Beta Was this translation helpful? Give feedback.
-
this line in your log:
says that your Provider is not returning and "id_token" so it seems it is not an OpenID Connect provider, or your Provider's config for mod_auth_openidc has not enabled it as an OpenID Connect client |
Beta Was this translation helpful? Give feedback.
-
The error message "OpenID Connect Provider error: Error in handling response type" suggests that there is a problem with the response type received from the provider. Looking at the logs, it seems that the requested flow is "code" but no "id_token" parameter is found in the code response, which causes the code response validation to fail. One possible reason for this error could be a misconfiguration in the httpd configuration. For example, the OIDCRedirectURI is configured to use "http" instead of "https", which could be rejected by some providers for security reasons. You may want to double-check your configuration and ensure that all required parameters are set correctly, including the "OIDCClientID" and "OIDCClientSecret". Also, make sure that the "OIDCProviderIssuer" and "OIDCProviderAuthorizationEndpoint" are correct. Additionally, you can try enabling debug logging to get more detailed information about the error. This can be done by setting "OIDCLogLevel debug" in the httpd configuration. I hope this helps! Let me know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm trying to use mod_auth_openidc against a OAuth2 provider using authorization code flow.
Here's my httpd configuration:
After login, I'm getting the following response:
Here are the httpd log:
Having a look at specs here, looks like the provider response is correct with code and state for response type code.
The redirect from provider to the client looks like this:
So I think the cookie domain is not the problem.
Any help will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions