Closed ukanwat closed 2 years ago
Describe the bug when I set "whenUnauthed: AuthAction.REDIRECT_TO_LOGIN" in the app page ('/') , it redirects me to the auth screen irrespective of whether I'm signed in or not.
Versions
next-firebase-auth version: 0.13.4 Firebase JS SDK: 8.9.1 Next.js: 12.0.7
next-firebase-auth
To Reproduce Steps to reproduce the behavior:
Expected behavior Page shouldn't redirect
Additional context Add any other context about the problem here.
The live demo doesn't have this issue, and I'll need more info to be able to help:
Closing this until there's more info.
Describe the bug when I set "whenUnauthed: AuthAction.REDIRECT_TO_LOGIN" in the app page ('/') , it redirects me to the auth screen irrespective of whether I'm signed in or not.
Versions
next-firebase-auth
version: 0.13.4 Firebase JS SDK: 8.9.1 Next.js: 12.0.7To Reproduce Steps to reproduce the behavior:
Expected behavior Page shouldn't redirect
Additional context Add any other context about the problem here.