Hi,
I have built a customer oidc provider, as we do not have oidc provider available in house. The api call https://api.usw2.pure.cloud/api/v2/webdeployments/token/oauthcodegrantjwtexchange is returning 401. When I checked the provider traffic, Genesys did make a successful call to the token endpoint. I am not sure what else could be causing this issue?
Api: https://api.usw2.pure.cloud/api/v2/webdeployments/token/oauthcodegrantjwtexchange
Request:
{
"deploymentId":"",
"oauth":{"code":"f3495991-765c-499c-b43c-3d347eb99bcc","redirectUri":"https://XXX.XXX.com"},
"journeyContext":{"customer":{"id":"058e33da-013c-4dde-9bb4-09e4c640acd5","idType":"cookie"},
"customerSession":{"id":"51315c00-b70a-11ef-9902-93cb7dca4175","type":"web"}}}
Response:
{
"message": "Failed to identify user for token: bb8f731a7f91e1d61c0f3103748bcb06 deploymentId: fd1b59a6-58a1-467b-a9be-a7fc39dbfb06",
"code": "unauthorized",
"status": 401,
"contextId": "42985d88-72f2-4126-b672-14067ece7a28",
"details": [],
"errors": []
}
Is there a way to check what caused this 401 in Genesys cloud?