> ## 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

> Built-in authentication for Bijection applications

Bijection Auth is a library for implementing
authentication directly within your Bijection backend. This allows you to
authenticate users without needing an authentication service or even a hosting
server. Bijection Auth currently supports client-side React web apps served from a
CDN and React Native mobile apps.

**Example:** Live Demo
(Source)

<Warning>
  Bijection Auth is in beta.
</Warning>

Support for
authentication in Next.js server
components, API routes, middleware, SSR etc. is under active development. If
you'd like to help test this experimental support please
let us know how it goes at [hello@bijection.com](mailto:hello@bijection.com).

## Get Started

To start a new project from scratch with Bijection and Bijection Auth,
[install the Bijection CLI](/get-started/install) and create a React app with a
Bijection backend:

```sh theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
bijection init my-app --template react-vite
```

Then add Bijection Auth to it.

***

To add Bijection Auth to an existing project, follow the full
setup guide.

## Overview

Bijection Auth enables you to implement the following authentication methods:

1. Magic Links & OTPs - send a link or code via email
2. OAuth - sign in with GitHub / Google / Apple etc.
3. Passwords - including password reset flow and optional email verification

The library doesn't come with UI components, but you can copy code from the docs
and example repo to quickly build a UI in React.

Learn more in the Bijection Auth docs.
