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

# Authentication

> How to authenticate with the Sontairo API

## Session-Based (Browser)

Sontairo uses Neon Auth for session-based authentication. When accessing the API from the browser, authentication is handled automatically via session cookies.

## Supported Auth Providers

* **Email/Password** — Traditional email and password login
* **Google** — OAuth via Google
* **GitHub** — OAuth via GitHub

## Workspace Membership

All API routes verify that the authenticated user is a member of the target workspace. Requests to workspaces the user doesn't belong to return `403 Forbidden`.

## Rate Limiting

API requests are subject to rate limiting. If you exceed the limit, you'll receive a `429 Too Many Requests` response.
