Issues:
Encountered an error while attempting to log in using Firebase Authentication. No errors occur when using the Firebase Auth emulator, but encountered errors without it. Received a
500 response from login API endpoint: {"error":"Unexpected error."}
in the browser console, likely related to next-firebase-auth.
FirebaseAuthError: `uid` argument must be a non-empty string uid.
at FirebaseAuthError.FirebaseError [as constructor] (D:\Alston\Programming\Personal-Project\netflix-clone\node_modules\firebase-admin\lib\utils\error.js:44:28)
...
Set up the /api/login
page following the official example. Successful logins with both signInWithEmailAndPassword
and signInWithPopup
, using Google for authentication, showed user credentials and data in indexed DB.
Package Versions
"next-firebase-auth": "^1.0.0-canary.5"
"firebase-admin": "^10.0.2",
"firebase": "^9.6.1",
Main issues identified on the login page. Explore the full details in the Github Repo.