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
Go to http://localhost:3000 and try clicking both links on the front page.
Or try going to http://localhost:3000/protected directly.
What is expected ?
Accessing /protected should automatically redirect to /login, and the page should say that you were redirected from /protected. This should work either directly or through both links.
What is actually happening?
When accessing the page directly or via the non nuxt-link link, no redirect is provided to the login page. They should also generate the same result as accessing it via nuxt-link.
This bug report is available on Nuxt community (#c312)
The text was updated successfully, but these errors were encountered:
Version
v4.5.3
Reproduction link
https://github.com/ColtonProvias/auth-issue
Steps to reproduce
yarn install
yarn run dev
http://localhost:3000
and try clicking both links on the front page.http://localhost:3000/protected
directly.What is expected ?
Accessing
/protected
should automatically redirect to/login
, and the page should say that you were redirected from/protected
. This should work either directly or through both links.What is actually happening?
When accessing the page directly or via the non nuxt-link link, no redirect is provided to the login page. They should also generate the same result as accessing it via nuxt-link.
The text was updated successfully, but these errors were encountered: