Closed
Description
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, but initializeAuth
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, use initializeAuth
, and see it error.