You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for reporting this.
Have you set the autoLogin: false option?
And trying to login with a button calling the loginfunction like this <button onClick={() => login()}>Login</button>?
If this did not solve it, could you upload that code that is not working for you?
For some cases, automatically logging in on page load might not be suitable.
There should be a option to set
loginOnPageLoad: false
.The
login()
function also needs to be exported by the <AuthContext> so manual login is possible.The text was updated successfully, but these errors were encountered: