Firebase Auth logo

REST API integration

Firebase Auth REST API integration for Draftbit

Sign in users with Firebase Auth REST endpoints

What is Firebase Auth?

Firebase Authentication exposes REST endpoints for email/password sign-up, sign-in, password reset, and account lookup. Use a Firebase Web API key and rely on Firebase Security Rules for app data authorization.

Use Firebase Auth with Draftbit

  • Built-in endpoints: Sign up with email, Sign in with email, Send password reset, Get account info.
  • Bind any Firebase Auth endpoint to a screen, list, form, or AI agent action.
  • Authentication is configured once per app — secrets stay on the server.
  • Add custom request and response transforms without forking Firebase Auth's client library.

Example

firebase-auth-example.ts
// Example: fetch from Firebase Auth
// Firebase Auth doesn't require an auth header for this endpoint —
// some providers authenticate via a query param or app-level token.
// Check Firebase Auth's docs for auth requirements on protected endpoints.
const response = await fetch("https://identitytoolkit.googleapis.com/v1/accounts:signUp");
const data = await response.json();

Use cases

  • Add sign-up, sign-in, and password reset flows to a mobile app
  • Gate premium features behind authenticated user sessions
  • Sync user profiles across web and native clients

Authentication

Add any required auth headers when you connect Firebase Auth in Draftbit. Secrets stay on the server side.

Use Firebase Auth in a Draftbit app today

Start free, connect Firebase Auth in minutes, and ship with AI agents that know how to use it.

Start building free

Frequently asked questions

What is the Firebase Auth REST integration?

Firebase Authentication exposes REST endpoints for email/password sign-up, sign-in, password reset, and account lookup. Use a Firebase Web API key and rely on Firebase Security Rules for app data authorization.

How do I connect Firebase Auth to a Draftbit app?

Go to Integrations and then REST APIs in your Draftbit app and pick Firebase Auth from the catalog. Fill in any base URL variables, such as a project ID or host, and the endpoints are available across your screens and to the AI agents while you build. The preconfigured calls need no auth header.

Does Firebase Auth require authentication?

The preconfigured Firebase Auth endpoints do not need an auth header. Some providers authenticate with a query parameter or an app-level token, and others are public read-only APIs, so check the Firebase Auth docs before you call a protected endpoint. The preconfigured endpoints include Sign up with email, Sign in with email, Send password reset, Get account info.

What can I build with Firebase Auth and Draftbit?

Most teams use Firebase Auth as a authentication service for a mobile or web app. You might use Firebase Auth to add sign-up, sign-in, and password reset flows to a mobile app, or to gate premium features behind authenticated user sessions.

Related Integrations

Get started free Browse all Integrations