We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
initializeAuth
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
n/a
11.6.0
Auth
Next.js
getAuth is idempotent, but initializeAuth is not. This causes issues with hot reloads while editing a Next.js app.
getAuth
Use initializeAuth in a Next.js app. Start the dev server, use initializeAuth, and see it error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Operating System
n/a
Environment (if applicable)
n/a
Firebase SDK Version
11.6.0
Firebase SDK Product(s)
Auth
Project Tooling
Next.js
Detailed Problem Description
getAuth
is idempotent, butinitializeAuth
is not. This causes issues with hot reloads while editing a Next.js app.Steps and code to reproduce issue
Use
initializeAuth
in a Next.js app. Start the dev server, useinitializeAuth
, and see it error.The text was updated successfully, but these errors were encountered: