firebase

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

auth-firebase

Firebase Authentication driver for togo auth. The frontend signs in with the Firebase SDK and POSTs the ID token to the backend, which verifies it (RS256 against Google certs) and issues a togo session.

togo install togo-framework/auth
togo install togo-framework/auth-firebase

Env: FIREBASE_PROJECT_ID. Endpoint: POST /api/auth/firebase { id_token }.

Documentation

Overview

Package firebase verifies Firebase Authentication ID tokens and issues a togo session. The frontend signs in with the Firebase SDK and POSTs the ID token to /api/auth/firebase; this driver verifies it (RS256 against Google's public certs, with issuer/audience checks) and find-or-creates the user via auth.

Install: `togo install togo-framework/auth-firebase`. Env: FIREBASE_PROJECT_ID.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址