Original Message:
Sent: 07-23-2025 21:03
From: Karthik Nachimuthu
Subject: User Defined Oauth - refresh token mechanism .
Here it is , Case #0003793421.
------------------------------
Karthik Nachimuthu
------------------------------
Original Message:
Sent: 07-23-2025 09:57
From: Jason Mathison
Subject: User Defined Oauth - refresh token mechanism .
Can you post or directly send me the support case ID?
We document our expected behavior here:
https://help.mypurecloud.com/faqs/do-data-actions-request-a-new-authentication-token-for-every-request/
If the 3rd party expires the token before our cache expires then the expectation is that we would make a request, get a 401 back, clear our cache, request a new token, and attempt the request again with the new token.
The only obvious way that this would fail as you are describing is if the 3rd party is returning a surprising result code when the token expires, like a 400.
------------------------------
--Jason
Original Message:
Sent: 07-18-2025 06:31
From: Vineet Kakroo
Subject: User Defined Oauth - refresh token mechanism .
I can't see the response from Genesys.
------------------------------
Vineet Kakroo
Senior Technical Consultant
Original Message:
Sent: 07-18-2025 06:15
From: Karthik Nachimuthu
Subject: User Defined Oauth - refresh token mechanism .
As you all mentioned even my assumption is that Genesys renew its expired token .However below is the response from Genesys for the case that we raised , which is completely contradicting to what they have mentioned in their documents .
<Respone from genesys >
Our cache for auth tokens is not relevant here, and that is essentially proven by how they solved the issue by increasing their cache expiry time, which we had already indicated in the original case. If they are the ones issuing the auth token to be used with data action requests, it is on them to define an expiry period and make sure they're renewing and fetching new tokens when that expiration happens. Our expiration period for the token cache will not play into it at all.
Since we're not generating the token or maintaining it in our platform, we are not going to have any way to know that it's expired. Data actions do not act smart in that sense, they simply send what they're told to send.
As mentioned earlier, our cache for auth tokens is not relevant here since the token was not generated by Genesys in your case. Therefore, Genesys will not be involved in renewing a token that it didn't generate.
------------------------------
Karthik Nachimuthu
Original Message:
Sent: 07-18-2025 04:48
From: Adrián Santamaría
Subject: User Defined Oauth - refresh token mechanism .
Hello
As far as I´ve tested in the past, Genesys stores the token internally, and makes new Auth requests when it gets invalid (for example, if it gets a 401 error, it retries to authenticate once more). I would check in the backend what requests it is receiving and what it is re Uploading... Upload file sponding.
------------------------------
Adrián Santamaría