SSO Session idle reached == automatic redirect to login


I have a question about the JavaScript adaptor. I have a react SPA that is using SSO login and I check the “authenticated” Boolean value to give a user access to the app.

If for example the SSO idle parameter is set to some value like 2 minutes then from my current understanding I would need to use the updateToken function with the refresh token to reset the idle time.

My question is does that “authenticated” boolean value ever change at all? I’m trying to set up my SPA so that if the user is idle for a period of time then she gets automatically logged out of the app. It took me awhile to figure out it has something to do with this refresh token…