Hello,
I am trying to get Web Messaging working for Authenticated Users for my application. However, whenever I attempt to authenticate using the AuthProvider I get an error from this endpoint from Genesys https://api.usw2.pure.cloud/api/v2/webdeployments/token/oauthcodegrantjwtexchange
Here is the following error:
code: "unauthorized"
contextId: "49f86070-e06c-4978-abc8-57cd17308c2f"
details: []
errors: []
message: "Failed to identify user for token: a459b103f8f2b13a53b6647cff67b8ba deploymentId: REDACTED"
status: 401
I have validated that the OAuth flow is working as intended e.g.
- Make a request to obtain an AuthCode on my Authorization Servers endpoint /oauth/authorization
- Using that code to obtain a token /oauth/token
Is there any context on why this is failing for me?