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
{{ message }}
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
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?
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?
When a user reloads the app, the callback.html is also reloaded and the script runs on it own. signinRedirectCallback() throws the error when the tokens are in local storage but cookies are somehow deleted for the site
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: