I have my ReactJs app set up to use auth0-spa-js. However, I need to add the ability to extend (or refresh) the session in order to achieve a scenario where the user can log in once and open up a dashboard, which can stay on indefinitely.
Can you recommend the best way to achieve this? Is it possible through auth0-spa-js or would I have to switch to auth0-js?
Thanks Mathias! I was actually following that same QuickStart, which was very helpful. It looks like I was already using getTokenSilently, but didn’t know it would let me stay authorized indefinitely.