You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please put the full oidcc version into the description? THis makes it simpler to find the issue.
Given the specific error / location, I believe that this is happening when attempting to execute PAR
It looks like Keycloak is responding with 401 on that PAR request. That hints, that you have either provided the wrong credentials or configured something else wrong in Keycloak / oidcc.
oidcc supports the following auth methods for requests to the provider (ordered by priority):
private_key_jwt - you would have to configure this, so not relevant here
tls_client_auth - you would have to configure this, so not relevant here
client_secret_jwt - depends on the provided client credentials; most likely used
client_secret_post - depends on the provided client credentials
client_secret_basic - depends on the provided client credentials
none - If nothing else is available
If the error was a different 4XX error like Bad Reuest (400), it would be likely that this is a bug. A 401 however hints at a configuration error like an invalid client secret.
One issue I've seen with multiple identity providers is incorrect encoding of the client secret. Can you check if your secret contains special characters like / or spaces?
Activity
maennchen commentedon Oct 30, 2024
@GPrimola Thanks for the report.
Can you please put the full
oidccversion into the description? THis makes it simpler to find the issue.Given the specific error / location, I believe that this is happening when attempting to execute PAR
It looks like Keycloak is responding with 401 on that PAR request. That hints, that you have either provided the wrong credentials or configured something else wrong in Keycloak /
oidcc.oidccsupports the following auth methods for requests to the provider (ordered by priority):private_key_jwt- you would have to configure this, so not relevant heretls_client_auth- you would have to configure this, so not relevant hereclient_secret_jwt- depends on the provided client credentials; most likely usedclient_secret_post- depends on the provided client credentialsclient_secret_basic- depends on the provided client credentialsnone- If nothing else is availableIf the error was a different 4XX error like Bad Reuest (400), it would be likely that this is a bug. A 401 however hints at a configuration error like an invalid client secret.
One issue I've seen with multiple identity providers is incorrect encoding of the client secret. Can you check if your secret contains special characters like
/or spaces?