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 Aug 5, 2024. It is now read-only.
how to intercept all 401 global, to redirect them to the login page?
Is it possible to capture all 401s in a plugin and direct them to the login page?
And if so, how ;) ?
thx alot!
The text was updated successfully, but these errors were encountered:
Hi @cvalues, as of right now this is unfortunately not possible.
All guarded pages must have auth middleware. Tho, you should be able to use nuxt nested pages.
I'm in the middle of a major rewrite that will introduce new features with global middleware among them.
Stay tuned, unfortunately no firm timeframe, but soon (tm).
thanks for your repley and thanks for your good work.
I stay tuned..
The problem does not exist with the page reload, everything works there. But if you are on the same page and the session has expired, the api throws errors and you cannot react to them.
KR
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
how to intercept all 401 global, to redirect them to the login page?
Is it possible to capture all 401s in a plugin and direct them to the login page?
And if so, how ;) ?
thx alot!
The text was updated successfully, but these errors were encountered: