Firebase Authentication provides a comprehensive identity solution from Google, supporting
email/password authentication and federated identity providers like Google, Facebook, Twitter, and
more. This guide shows you how to integrate Firebase Authentication with your Zudoku documentation
site.
export default { authentication: { type: "firebase", // Replace these with your Firebase project configuration // Get these values from Firebase Console > Project Settings apiKey: "<insert your API key here>", authDomain: "your-domain.firebaseapp.com", projectId: "your-project-id", appId: "1:296819355813:web:91d29f11cac6f073595d4c", // Optional fields storageBucket: "your-project.firebasestorage.app", messagingSenderId: "296819355813", measurementId: "G-12W6TTNR75", // Optional: specify which providers to show in the sign-in UI // Available providers: "google", "github", "facebook", "twitter", // "microsoft", "apple", "yahoo", "password", "emailLink" // If not specified, all enabled providers in Firebase will be available providers: ["google", "github", "password"], // Optional: disable the sign-up UI for invite-only setups. Defaults to false. // When true, the Register button and "Sign up" link are hidden, and /signup shows a message. // Visual only — also disable sign-ups in your Firebase project for real enforcement. disableSignUp: true, // Optional: send Register to a separate URL instead of /signup // (absolute URL → external redirect, relative path → in-app navigate) signUp: { url: "/register" }, // Optional: configure redirect URLs after authentication redirectToAfterSignIn: "/docs", redirectToAfterSignUp: "/getting-started", redirectToAfterSignOut: "/", },};