Keep users connected longer with JWT SPA

Hi all,

Our users are asking to stay connected longer.
We use JWT on a SPA and the default React Auth0 toolkit.

I tried:

  • activate the refresh token rotation in the Application API tab Put 2 years in validity period.
  • added in the React toolkit
    <Auth0Provider
    domain="…"
    clientId="…"
    redirectUri="…"
    useRefreshTokens
    cacheLocation=“localstorage”
    audience="…"
  • I used getAccessTokenSilently to retreive the JWT

What I am missing?
Thanks

Hi @baptiste1,

Are your users sessions expiring before you expect them to?

You configured the refresh token settings in the dashboard?