Skip to Content
ExtensionFast is $50 off with our Launch Deal! 🚀 Make sure to order today! 💛
🛠️ FeaturesAuthentication

🔑 Authentication

In this section, we’ll set up authentication for your extension, enabling both Google Sign-In and email/password authentication.

Set Up Firebase Authentication

  1. Go to Firebase Console and create a new project (or use your existing project).
  2. In the Firebase Console, go to Build > Authentication.
  3. Click on Get Started to enable Firebase Authentication for your project.
Firebase auth getting started

Enable Google Sign-In in Firebase

  1. Go to the Google Cloud Console.
  2. Create a new project (or select an existing one).
  3. In the sidebar, go to APIs & Services > Credentials.
  4. Click on Create Credentials and select OAuth Client IDs.
  5. In the Application type, select Web application and name it (e.g., “Google Sign-In for Firebase”).
  6. Click Create to generate your OAuth 2.0 Client ID and Client Secret.
  7. In the Firebase Console, go to Authentication > Sign-in method.
  8. Click Google and enable it.
Firebase Google sign-in method

Enable Email/Password Authentication

  1. In the Firebase Console, go to Authentication > Sign-in method.
  2. Enable Email/Password authentication by toggling the switch.
  3. Save the changes.

This will allow users to sign up and log in using their email and password.

Firebase enabling email and password

That’s it, you now enabled authentication inside of Firebase!

💬 Additional Resources

Last updated on