> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boxd.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Firebase

> Firebase Authentication client tools for project discovery, user sign-in and sign-up flows, out-of-band codes, and Secure Token refresh using a Firebase Web API Key

Firebase Authentication client tools for project discovery, user sign-in and sign-up flows, out-of-band codes, and Secure Token refresh using a Firebase Web API Key.

`firebase` · **8 tools** · no triggers

## Connect it

```bash theme={"theme":"github-dark"}
run auth firebase
run auth firebase --scope team    # shared with the organization
```

Or from the [Integrations page](https://app.boxd.sh/integrations) in the console. See [Connections](/guides/integrations/connections) for personal versus shared, and who may remove one.

## Use it

```bash theme={"theme":"github-dark"}
run firebase          # common commands
run firebase --all    # every command
```

```ts theme={"theme":"github-dark"}
import { firebase } from "@boxd/run";
```

## Common tools

| Tool                        | What it does                                                                                                                                     |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `discover-sign-in-methods`  | Look up sign-in methods previously used by a Firebase account email.                                                                             |
| `get-auth-project-config`   | Get the public Firebase Authentication configuration associated with the connected Web API key, including the project ID and authorized domains. |
| `refresh-id-token`          | Exchange a Firebase refresh token for a fresh Firebase ID token and rotated refresh token using Google's Secure Token service.                   |
| `sign-in-with-custom-token` | Exchange a trusted server-minted Firebase custom token for a Firebase ID token and refresh token.                                                |
| `sign-in-with-email-link`   | Complete Firebase email-link sign-in using an email address and the one-time OOB code from a previously delivered sign-in link.                  |

<Accordion title="All 8 tools" icon="list">
  | Tool                         | What it does                                                                                                                                     |
  | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
  | `discover-sign-in-methods`   | Look up sign-in methods previously used by a Firebase account email.                                                                             |
  | `get-auth-project-config`    | Get the public Firebase Authentication configuration associated with the connected Web API key, including the project ID and authorized domains. |
  | `refresh-id-token`           | Exchange a Firebase refresh token for a fresh Firebase ID token and rotated refresh token using Google's Secure Token service.                   |
  | `sign-in-with-custom-token`  | Exchange a trusted server-minted Firebase custom token for a Firebase ID token and refresh token.                                                |
  | `sign-in-with-email-link`    | Complete Firebase email-link sign-in using an email address and the one-time OOB code from a previously delivered sign-in link.                  |
  | `sign-in-with-idp`           | Sign in with one configured external identity provider using provider-specific OAuth or OIDC credential parameters.                              |
  | `sign-in-with-password`      | Sign in an existing Firebase Authentication user with email and password and return fresh ID and refresh tokens.                                 |
  | `verify-password-reset-code` | Validate a Firebase password-reset OOB code and identify the associated email and request type without changing the password.                    |
</Accordion>

[Open Firebase in the console →](https://app.boxd.sh/integrations/detail/firebase)
