-
Notifications
You must be signed in to change notification settings - Fork 842
Cookies deleted but the tokens are still in Local Storage #1384
Comments
It's not clear to me the context in which you get "login_required" (silent login, automatic silent login, query session status?), but what it means is that you made a request to the authorize endpoint, the user does not have a session so they must login, and so the response failed and that error code let you know why it failed. |
Even, I am not able to understand the context. Are there any logs to where I can see a more clear reason? |
But the error is "login_required"? |
Yes, from the callback.html |
Hello, this is a question.
I am using oidc client for authenticating a JS client with identity server.
I have a callback html and this callback html is throwing an error every time the app is mounted and callback.html is called.
ErrorResponse: login_required
This happens only when a cookies is deleted, and the local storage still contains a an unexpired token.
My token is not expired, my code handles log out for token expiry.
What is the best practice, should I just suppress error?
Where can I see the logs, to pinpoint the reason for the message?
Deep
callback.html
The text was updated successfully, but these errors were encountered: