Authentication fails (AnomalyDetected, Invalid State) after multiple tabs logout, login in old tab

Hi @jev,

Does passing cacheLocation: "localstorage" correct the behavior?:

const auth0 = createAuth0Client({
  client_id: AUTH0_CLIENT_ID,
  domain: AUTH0_DOMAIN,
  redirect_uri: AUTH0_REDIRECT_URI,
  audience: AUTH0_AUDIENCE,
 cacheLocation='localstorage'
});

I’m wondering if this is caused by the auth data being stored in memory.

1 Like