Using Back after log out lets user back into application


We’re using the react sdk (v2.2.1). When the the log out button is pressed the user is taken back to returnTo: window.location.origin and I see a successful logout event in the auth0 logs, but if I press the back button at this point I can get into the application and I am authenticated. The spell is broken on refresh at which point the user is thrown out and needs to log in.

Has anyone experienced this before?

1 Like

Hello, could you resolve this bug?

I think the bug is back forward cache (bfcache)

meta http-equiv=“Cache-Control” content=“no-store”