Getting an error while retrieving tokens #58
Unanswered
remigauthierdocaposte
asked this question in
Q&A
Replies: 1 comment 12 replies
-
This extension is currently not compatible with FC+, I'm waiting for a working client_id to see how much should be changed (if it is possible) to make it working. Could you maybe share all keycloak logs (removing all sensitive informations) by activating http client wire logging ? (To enable wire logging, open jboss-cli on your keycloak server
You should see all http exchange from keycloak server with the FC+ server in server.log file (not in console) |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
On our side, the external IDP is configured, using the specific nonce to be able to connect to FC+.
All good except when keycloak asks for the token using the returned authorizationCode collected after successfully calling the authorize.
I have got this error :
Failed to make identity provider oauth callback: org.keycloak.broker.provider.IdentityBrokerException: No access_token from server. error='invalid_client_metadata', error_description='client JSON Web Key Set failed to be refreshed', error_uri='null'
Error seems to be located in the authResponse() of OIDCEndpoint here :
SimpleHttp tokenRequest = SimpleHttp.doPost(tokenUrl, this.session).param("code", authorizationCode).param("redirect_uri", redirectUri).param("grant_type", "authorization_code"); SimpleHttp authenticateTokenRequest = FranceConnectIdentityProvider.this.authenticateTokenRequest(tokenRequest);
Do you have any clue or advice? We currently only have an integration client_id/client_secret for FC+.
Beta Was this translation helpful? Give feedback.
All reactions