Chris_Phillips | 2019-09-06 21:42:14 UTC | #1
Hello
Our users get logged out of the PEF at seeming random times, often in the middle of a call. This makes them sad :frowning:
Is there a max time a login session lasts before it forces them to relog like this? Can we control it? Can we check for it?
Ideally we would figure out how to force a relog at a quiet time when it won't disconnect them.
thanks
Chris
Travis_Cawthorn | 2019-09-11 20:26:00 UTC | #2
Chris, This timeout is controlled by your clients oAuth client inside of pureCloud. You can set the “ Token duration” to control this timeout. I would recommend roughly 18hours as this typically allows the for token to expire after the agent finishes their shift.
Chris_Phillips | 2019-09-11 20:44:20 UTC | #3
Hi Travis
In our experience the PEF auto refreshes fine most of the time. However separate from the 18hr oauth timeout/refresh window, it also will sometimes log themout completely
And they are required to relog in.
Thanks
Chris
Travis_Cawthorn | 2019-09-18 14:17:38 UTC | #4
Chris,
As for logouts outside the oauth timeout timeframe, the client will attempt to reauth if either of the following occur.
- 401: bad.credentials http response
- 403 from the purecloud streaming service
- 30 seconds of inability to contact the purecloud streaming services
- Cookie and Local storage manipulation for expected values
- Direct user logout
As far as outside actions that can force a token to be invalidated all tokens associated with the session cookie.(https://developer.inindca.com/api/rest/authorization/index.html)
Thanks Travis Cawthorn
system | 2019-10-18 14:17:39 UTC | #5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 5979