Error parsing OIDC authorization request from query parameters
on IDPKit as provider with Keycloak
#12
-
Hello, I'm trying to implement your IDPKit as a provider with Keycloak but I stumble onto an issue when clicking on the link to redirect to the OpenID Connect provider. I get this error: 'Error parsing OIDC authorization request from query parameters' I have followed this guide and tried with both my local instance of idpkit and yours I'm using Keycloak 19.0.2 so I'm not sure if the config is exactly the same. Here is my project: To reproduce you can:
In order to check the Keycloak config, the admin console is [here](http://localhost:8100/auth/) and the login is [email protected] / password The Waltid-idpkit provider can then be found here |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @sebpalluel
I have fixed your exported realm configuration (the idpkit part), so you can try to update it accordingly, see here:
|
Beta Was this translation helpful? Give feedback.
Hi @sebpalluel
There is 2 problems we found with this particular version of Keycloak (19.0.2):
The admin UI creates a faulty configuration in the keycloak backend, which breaks the setting for client authentication. The issue is discussed in: https://github.com/keycloak/keycloak-ui/issues/3355
There's a fix for this in version 19.0.3, which is not yet released.
As a workaround, you can manually fix the configuration, which you exported and reimport it. See below.
The "prompt" type is set to "unspecified", and this version of keycloak sends it as parameter
prompt=unspecified
in the authorization request, which is not accepted by our request parser. The previous version of keycloak woul…