Firebase Guides
How to configure Firebase so TernSecure Authentication works correctly. Because TernSecure is built on top of Firebase Authentication, misconfigured Firebase settings will prevent authentication from working. Complete the console steps: provide correct SDK configuration so Firebase can initialize, enable the required sign-in providers, add authorized domains, and set the required redirect URIs for redirect flows.
What you'll need
- A Firebase project with a registered Web app
- App's Firebase project configuration
- At least one provider enabled (for testing, Email/Password or Google)
Initialize Authentication SDK
Create a Firebase project and web app, collect SDK credentials, add env vars, and initialize the SDK.
Authorized Domains
Allow only trusted origins (localhost, staging, production) to use your Firebase project.
Enable Sign-in Methods
Turn on the providers you need (Email/Password, Google, etc.) in the Firebase Console.
Redirect best practices
Set the required redirect URI (__/auth/handler) so redirect flows complete successfully.
Last updated on