Skip to main content

Documentation Index

Fetch the complete documentation index at: https://aiauth.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Hero Light

What is Auth-Agent?

Auth-Agent is a complete OAuth 2.1 / OpenID Connect authentication system designed specifically for AI agents. It provides secure, standards-compliant authentication with automatic token management, React components, and comprehensive SDKs.

Quick Start

Get up and running in under 5 minutes

React SDK

Pre-built React hooks and components

API Reference

Complete API documentation

Examples

Real-world integration examples

Key Features

Built on the latest OAuth 2.1 specification with mandatory PKCE (Proof Key for Code Exchange) for maximum security.
Tokens are automatically refreshed before expiration with configurable refresh strategies.
Pre-built components including sign-in buttons, auth providers, and protected routes.
Core client works with any JavaScript framework or vanilla JS. React wrappers included.
Written in TypeScript with comprehensive type definitions for excellent DX.
The core client has zero runtime dependencies (React is a peer dependency for React components).

Architecture

SDKs Available

JavaScript/TypeScript

For browsers and Node.js

React

Hooks and components

Python

For Python applications

Use Cases

1

AI Agent Authentication

Secure authentication for AI agents accessing user resources with OAuth 2.1 compliance.
2

Multi-Agent Systems

Manage authentication for multiple AI agents with centralized control and monitoring.
3

Web Applications

Add “Sign in with Auth-Agent” to your React, Next.js, or vanilla JavaScript applications.
4

Server-Side Applications

Use Python or Node.js SDKs for server-side authentication flows.

Next Steps

Installation

Install the SDK in your project

Quick Start Guide

Build your first authenticated app