How do I properly handle session timeout in PKCE using the Vue Auth0 SDK?

Hey everyone,

Business is asking to make sure people have to go through the auth flow every n hours. My login config looks like this…

{
      domain: "...",
      client_id: "...",
      redirect_uri: window.location.origin,
      scope: "...",
      useRefreshTokens: true,
}

How do I ensure the user is required to at least go through the login flow after being idle (after token issued?) for n hours?

Hi @jgleason ,

If I understand correctly, you want to have the users re-login after being idle for n hours. This can be configured under the Tenant Setting → Advanced → Login Session Management. This doc has the details.

Also, we have a FAQ that explains the opposite situation that users remain logged in after session times out. I hope it could be helpful when you configure your tenant.

Thanks!