Repository navigation
|
Hello, I use Keycloak as identity broker to identity provider, now in early development/test phase integrate to Keycloak by Apache mod_auth_openidc. Error: OpenID Connect Provider error: Error in handling response type. Problem occurs both in development mode and production mode. Realm, client and identity provider setting are created script based exactly same way for 18.0.2 and 19, only difference being version in Docker file: FROM quay.io/keycloak/keycloak:18.0.2 vs 19.0.2. What could be wrong with Keycloak 19? regards, Matti |
Replies: 1 comment
|
Improper configuration was the reason. In client -> Advanced -> Id token encryption key management algorithm had value RSA-OAEP, but no client encryption key was available. |
Improper configuration was the reason. In client -> Advanced -> Id token encryption key management algorithm had value RSA-OAEP, but no client encryption key was available.
"id.token.encrypted.response.alg": "RSA-OAEP"
Changed empty value and authentication succeeded. Have to consider taking token encryption into real use.
Keycloak 18 seemed to tolerate improper configuration.
Keycloak logs were not very informative, apache logs gave better hint what could be wrong :-)