rfariam | 2023-12-08 20:20:17 UTC | #1
Dears, good day.
I have a clientId of code authorization grant type and I'm having some issues to get the access token.
According to this page Grant - Authorization Code, I access this link
https://login.mypurecloud.com/oauth/authorize
?client_id=<my-client-id>
&response_type=code
&redirect_uri=<http://example.com/oauth/callback>
(with my clientId and redirect URI) and log in successfully with my account, then it returns me the error: access denied - the client has not been authorized for this user.
I don't know if the problem is a misconfiguration of the clientId or in my application. All the clientId scopes are already set. Actually, I'm not receiving the authorization code through querystring.
tim.smith | 2023-12-08 20:33:35 UTC | #2
Hello, please refer to this Resource Center article: https://help.mypurecloud.com/articles/authorize-an-oauth-client-2/
rfariam | 2023-12-08 20:35:59 UTC | #3
I asked the org admins and they confirmed that it's already authorized.
tim.smith | 2023-12-08 20:36:38 UTC | #4
If you've followed the documentation correctly and are not getting the documented result, please open a case with Genesys Cloud Care to investigate.
system | 2024-01-08 20:37:15 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 23610