AbdullahAlhariri | 2023-06-23 11:21:08 UTC | #1
Hi,
At logging in with the Authorization Code method and calling this endpoint: https://login.mypurecloud.de/oauth/token. Mentioned in the docs: https://developer.genesys.cloud/authorization/platform-auth/use-authorization-code
When I exchange authorization Code for Access Token I get as a response:
{
"access_token": "***",
"token_type": "bearer",
"expires_in": 86399,
}
And I don't get a refresh token like what has been documented in docs
Any help would be appreciated
tim.smith | 2023-06-23 13:48:35 UTC | #2
This appears to be a bug. Please open a case with Genesys Cloud Care to report that the login service is not behaving as documented.
AbdullahAlhariri | 2023-06-23 14:49:09 UTC | #3
tim.smith, post:2, topic:20637
Genesys Cloud Care
Thanks,
Can you inform me how to report to Genesys Cloud Care?
tim.smith | 2023-06-23 14:59:43 UTC | #4
https://help.mypurecloud.com/articles/contact-genesys-cloud-care/
AbdullahAlhariri | 2023-06-26 15:13:51 UTC | #5
Before I open a case, could it also be that I don't have permission to get a refresh token?
When recieving client secret and client key it should be set to some permissions.
So, Could not enough permissions be the problem here?
tim.smith | 2023-06-26 15:21:23 UTC | #6
There is no documented scenario where the refresh code will not be returned for an auth code grant.
system | 2023-07-27 15:22:10 UTC | #7
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: 20637