I checked our logs and could see the following error: invalid_grant (The provided authorization code or refresh token was issued to another client.)
So it looks like that there is a config mismatch somewhere.
Either the auth server used to get the authcode is not the same as the one to do the code exchange.
Either the path references different apps on the server side (hence different instances).
Genesys will use the url referenced in the token_endpoint attribute from the discovery document to carry out the exchange.
Or the clientId in the integration is not the correct one.
Thank you for sharing the log.
We were able to understand that the problem was in the absence of the nonce that SAP CDC uses to identify the Client.
One question, through authentication only FirstName and LastName claims are exposed to the chat widget but from the authentication provider (SAP CDC) many more are sent that would be useful to retrieve. Is there any way to indicate which claims to return to the authentication response?
Or is there a way to retrieve them?