Authyo Docs
  1. Integration
Authyo Docs
  • 🐶 Walk through Authyo
  • Error Codes
  • About Pricing
  • APIs
    • Send OTP
      GET
    • Send OTP
      POST
    • Verify OTP
      GET
    • Verify Token
      POST
    • Revoke User Session
      POST
  • Web SDKs
    • JavaScript
    • PHP
    • AngularJS Examples
    • TypeScript Examples
    • React JS
    • Vue JS Examples
  • Native/Mobile SDKs
    • Flutter
  • Integration
    • Google Sheet
    • Firebase
  1. Integration

Firebase

Authyo + Firebase Integration

Integration: Firebase

Integrate Firebase with Authyo to enable custom authentication flows using Firebase tokens. Each user/application can have its own Firebase configuration and isolated authentication with custom firebase token generation.

Overview

The Firebase Integration allows Authyo to dynamically initialize Firebase per user/application using stored service account credentials. This enables:

  • Custom Firebase token generation for authentication.
  • Each user/application can use its own Firebase project.

Benefits

  • Per-user isolation: Each user/application has its own Firebase configuration.
  • Dynamic authentication: Generate Firebase custom tokens on demand for user authentication.

Prerequisites

  • A Firebase project with a service account.
  • Service account JSON or the required fields:
    • Service account email
    • Project ID
    • Private key
  • Authyo access with permissions to configure Integration.

Activation Steps

  1. Log in to Authyo: Open your Authyo account.
  2. Navigate to Integration: Go to the Integration section on your dashboard.
  3. Choose Firebase Integration: Select Firebase from the list.
  4. Activate Integration: Click Activate to enable it for your account.

Integration Configuration

Step 1: Enter Firebase Details

After activating the Integration, provide Firebase credentials either by uploading a JSON file or manually entering the fields:

  • Service Account Email
  • Private Key
  • Other optional fields (like database URL if needed)

Step 2: Integration Testing

  1. Verify token generation: Call the curresponding endpoint for a test user/application.
  2. Check Firestore access: Perform read/write operations using the generated token.
  3. Monitor logs: Check Authyo logs for errors during initialization or token generation.

Troubleshooting

  • Credential Issues: Ensure service account email, project ID, and private key are correct.
  • JSON Parsing Errors: Replace escaped \n in private key with actual newline characters.
Modified at 2025-09-12 12:16:44
Previous
Google Sheet
Built with