Firebase
Prerequisites
- Firebase project created
- Firebase Authentication enabled
Configuration Steps
Step 1: Access Firebase Console
- Navigate to Firebase Console (https://console.firebase.google.com)
- Select your project
- Click Authentication in left sidebar
Step 2: Enable Authentication Methods
- In Authentication page, navigate to Sign-in method tab
- Enable desired sign-in providers (Email/Password, Google, etc.)
Step 3: Configure OAuth Client (via Google Cloud Console)
Firebase doesn't directly provide OAuth credentials. You need to use Google Cloud Console:
- Navigate to Google Cloud Console (https://console.cloud.google.com)
- Select the project associated with your Firebase project
- Navigate to APIs & Services → Credentials
- Click Create Credentials → OAuth client ID
- If prompted, configure the OAuth consent screen first:
- Click Configure Consent Screen
- Select Internal or External user type
- Fill required fields: App name, Support email
- Click Save and Continue
Step 4: Select or Create OAuth 2.0 Client
- If you have an existing OAuth client:
- Click on it to view details
- Click the Edit (pencil) icon to modify settings
- Add Frontegg redirect URI to Authorized redirect URIs:
https://[YOUR-FRONTEGG-DOMAIN]/oauth/callback - Click Save, then skip to Step 5
- If creating new: Continue below
- Click Create Credentials → OAuth client ID
- If prompted, configure the OAuth consent screen first:
- Click Configure Consent Screen
- Select Internal or External user type
- Fill required fields: App name, Support email
- Click Save and Continue
- Return to Create OAuth client ID page
- Select Application type:
Web application - Enter Name: "Frontegg AgentLink"
- Under Authorized redirect URIs, click Add URI
- Add Frontegg redirect URL:
https://[YOUR-FRONTEGG-DOMAIN]/oauth/callback - Click Create
Step 5: Obtain Credentials
- A modal displays your credentials
- Copy Client ID:
[string].apps.googleusercontent.com - Copy Client Secret:
[alphanumeric-string] - Click OK
Step 6: Get Firebase Configuration
- In Firebase Console, navigate to Project Settings (gear icon)
- Note your Project ID from General tab
- Your issuer URL will be Firebase's OIDC endpoint
Configuration Values for Frontegg
provider: firebase
issuer_url: https://securetoken.google.com/[project-id]
client_id: [from Google Cloud Console]
client_secret: [from Google Cloud Console]