Closed kerubkim closed 4 months ago
When filing a bug report, please confirm you've done the following:
onVerifyTokenError
onTokenRefreshError
debug: true
Describe the bug A clear and concise description of the bug.
As mentioned in the title /api/login is being requested at every refresh or redirect of page. Is this normal behavior?
/api/login
Versions
next-firebase-auth version: ^1.0.2 Firebase JS SDK (firebase): ^10.7.2 Firebase admin SDK (firebase-admin): ^12.0.0 Next.js: 13.5.6
next-firebase-auth
firebase
firebase-admin
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Debug and error logs Please provide debug logs or errors from onVerifyTokenError and onTokenRefreshError.
Additional context Add any other context about the problem here.
Also seems, just by casually viewing scrolling at a page seems to make requests to the endpoint. I've added a screenshot.
Thanks! I believe this is a duplicate of #424, but let me know if it differs.
When filing a bug report, please confirm you've done the following:
onVerifyTokenError
andonTokenRefreshError
in your config and checked for any helpful errors? Yesdebug: true
in your config and read through server-side and client-side debug logs for any helpful messages? YesDescribe the bug A clear and concise description of the bug.
As mentioned in the title
/api/login
is being requested at every refresh or redirect of page. Is this normal behavior?Versions
next-firebase-auth
version: ^1.0.2 Firebase JS SDK (firebase
): ^10.7.2 Firebase admin SDK (firebase-admin
): ^12.0.0 Next.js: 13.5.6To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Debug and error logs Please provide debug logs or errors from
onVerifyTokenError
andonTokenRefreshError
.Additional context Add any other context about the problem here.