# Firebase adapter

> Glyph auth on Firebase Authentication: email and password, Google, GitHub, Apple and Microsoft, reset and verification emails.

Status: beta. Category: Auth.

```ts
import { Firebase adapter } from '@glyphui/auth/firebase'
```

Exports: `firebaseAdapter`, `firebaseError`.

## Notes

- Firebase verifies emails and resets passwords with emailed links, so the screens show "check your inbox" steps instead of code inputs.
- Unverified email/password accounts count as signed out until they open the link (requireEmailVerification: false to allow them).
- auth.fetch sends the Firebase ID token as a bearer token; verify it on your server with the Admin SDK.
- oauthFlow: "redirect" works better than popups on mobile Safari.
- Firebase multi-factor and email-link sign-in are not wired yet.

Live page: https://glyphui.xyz/components/auth-firebase
