-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hey, on a brand new nextjs app, trying to get this library working, but I have to issues:
- When using an existing email it attempts to re-register me resulting in a 400 EMAIL_EXISTS
- Using a new email it does not redirect to the continueUrl
I only have three files, a firebase init, and empty homepage and a Login page with your component
// nextjs/firebase/index.ts
const app = initializeApp(firebaseConfig);
export const auth = getAuth(app);
export const firebaseuiConfig = {
continueUrl: "/",
signInOptions: ["emailpassword", "google.com"],
};
// nextjs/app/login/page.ts
"use client";
import { auth, firebaseuiConfig } from "@/firebase";
import FirebaseUIReact from "firebaseui-react";
export default function Login() {
return (
<>
<h1>Log In</h1>
<FirebaseUIReact auth={auth} config={firebaseuiConfig} />
</>
);
}Metadata
Metadata
Assignees
Labels
No labels