Introduction

Production-ready OAuth 2.0 Server and OpenID Connect 1.0 Provider

Authority is a complete authentication infrastructure built with Crystal, featuring enterprise-grade security and a modern admin dashboard.

Quick Start

Get Authority running in 5 minutes:

# Clone the repository
git clone https://github.com/azutoolkit/authority.git
cd authority

# Start with Docker
docker-compose up -d

# Visit http://localhost:4000

See Quick Start Tutorial for a complete walkthrough.

Key Features

Category
Features

OAuth 2.0

Authorization Code, PKCE, Client Credentials, Device Flow, Refresh Tokens

OpenID Connect

ID Tokens, UserInfo, Discovery, JWKS

Security

MFA/TOTP, Account Lockout, Password Policies, Audit Logging

Admin

Client Management, User Management, Scope Configuration, Settings

Documentation Overview

This documentation is organized using the Diataxis frameworkarrow-up-right:

Step-by-step guides for learning Authority:

Task-oriented guides for specific goals:

Technical specifications and API documentation:

Understanding concepts and architecture:

Standards Compliance

Authority implements these specifications:

Technology Stack

Component
Technology

Language

Crystal

Web Framework

Azu

Database

PostgreSQL

Templating

Crinja (Jinja2-compatible)

Caching

Redis (optional)

Screenshots

Landing Page
Admin Dashboard

Last updated

Was this helpful?