I am trying to setup an openId Connection in my app for one of our client.
I’ve my Keycloak server setup on CleverCloud.
I have created a realm, a client and an Identity provider (OIDC).
It is an Oauth 2.0 IDP;
When i try to log in, I am getting this error :
Unexpected error when authenticating with identity provider
In my server logs i have :
ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (default task-340) Failed to make identity provider oauth callback: org.keycloak.broker.provider.IdentityBrokerException: No token from server
I’ve looked up on the web to fix the issue, and i saw a few post saying that it may be the client_secret that could be wrong, but i double checked with my client that it is the good one. Also, when i’am trying to login et to receive an access token form their api it works well using Postman.
So i’m looking for some help to fix this issue
Thank you,
Arthur
I get the error with keycloak 16.1:
15:17:03,007 ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (default task-25) Failed to make identity provider oauth callback: org.keycloak.broker.provider.IdentityBrokerException: No token from server.
at org.keycloak.keycloak-services@16.1.0//org.keycloak.broker.oidc.OIDCIdentityProvider.validateToken(OIDCIdentityProvider.java:550)
For me this was an issue that my OIDC server was not returning an Identity Token in the token response. Once that was configured correctly, everything worked fine.