Invalid State, Anomaly detected when logging in with multiple tabs opened in Next js

Continuing the discussion from Authentication fails (AnomalyDetected, Invalid State) after multiple tabs logout, login in old tab:

The solution works when cacheLocation='localstorage' is given in react app
How can I do this in NextJs app ?
I cannot find any place where I can add the value for cacheLocation
In NextJs, we do not create auth0 client with all values. It simply get values from the env

Solution: This is the expected behaviour!

This is the github issue

1 Like

Thanks for sharing that with the rest of community!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.