Deploy-per-app authentication

A complete auth surface for your app.

Hosted pages, public APIs, dashboard controls, service keys, and analytics behind one deployable FastAPI service.

FastAPI Postgres Redis ClickHouse analytics
Auth control plane Production
DAU 1,284
Signups 418
Login success 98.6%
Hosted pages
PKCE code
App callback
POST /api/v1/auth/token
Authorization: public PKCE exchange
returns access_token, refresh_token, user
AI handoff

Give your coding agent the integration brief.

Integrate Passport Auth into my app. Ask me for the self-hosted Passport Auth URL first. Use hosted auth pages with PKCE unless I ask for custom screens. Read the implementation guide at passport.alactic.net/llm, then add sign in, register, callback token exchange, refresh rotation, logout, and /me current-user handling.
01 Hosted UI

Login, register, verify, reset, magic link, OTP, and Google callback pages.

02 Public API

Password, OTP, magic link, Google OAuth, token exchange, refresh, logout, and /me.

03 Admin dashboard

Users, sessions, settings, domains, email templates, admins, and analytics.

04 Service keys

Scoped backend access for user create, fetch, update, deactivate, and metadata.

Architecture

One exposed container. Internal data services.

FastAPI serves the public API, hosted auth pages, and the admin dashboard. Postgres stores users and settings, Redis handles short-lived auth state, and ClickHouse stores public auth events for product analytics.

Browser /login /register /verify
FastAPI /api/v1/*
  • Postgres
  • Redis
  • ClickHouse
  • Resend
Built for operators

Everything V1 needs, without pretending to be a platform suite.

Safe redirects

Every auth flow validates configured redirect URLs before issuing authorization codes.

PKCE first

Hosted pages return authorization codes. Tokens never sit directly in redirect URLs.

Encrypted provider secrets

Google and Resend secrets are stored encrypted. Passwords and one-time tokens are hashed.

Rotating refresh tokens

Refresh rotation supports logout, revocation, and replay-resistant session behavior.

Custom user metadata

Store plan, subscription, feature, and application-specific fields on each user.

Public auth analytics

Track signups, logins, methods, funnels, active users, retention, refreshes, and errors.

Deploy target

Start with Docker Compose, ship on Coolify.

Deploy Passport Auth