Being auto logged out of the PEF

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

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.

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

Chris,

As for logouts outside the oauth timeout timeframe, the client will attempt to reauth if either of the following occur.

  1. 401: bad.credentials http response
  2. 403 from the purecloud streaming service
  3. 30 seconds of inability to contact the purecloud streaming services
  4. Cookie and Local storage manipulation for expected values
  5. 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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.