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

# bijection auth

> Configure application authentication

## bijection auth

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Configure application authentication

Usage:
  bijection auth [flags]
  bijection auth [command]

Available Commands:
  init        Set up Bijection Auth on the selected deployment

Flags:
  -h, --help   help for auth

Use "bijection auth [command] --help" for more information about a command.
```

## bijection auth init

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Add authentication tables, password functions and HTTP routes, and initialize deployment signing keys. Existing keys and customized application files are preserved. Install the private package artifact with --package, or install @bijectionhq/auth first. The application owns its sign-in UI and permissions.

Usage:
  bijection auth init [flags]

Flags:
      --deployment string       Configure authentication on a specific deployment. Accepts:
                                • a deployment name (e.g. joyful-capybara-123)
                                • a deployment reference (e.g. dev/james, staging)
                                • dev (for your personal dev deployment)
                                • prod (for your project’s default production deployment).
                                You can also select deployments in other projects with project-slug:reference.
  -h, --help                    help for init
      --package string          Install the private @bijectionhq/auth package tarball using the project's package manager
      --prod                    Configure authentication on this project's default production deployment.
      --skip-git-check          Skip the source-control warning
      --url string              Configure authentication on the deployment at the given URL.
      --variables string        Interactive provider environment configuration as JSON
      --web-server-url string   Application origin for login redirects (for example http://localhost:5173)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.