Stage:
Public Beta
Available on self-hosted:
Yes
OAuth 2.1 Server transforms your Supabase project into a complete OAuth 2.1 and OpenID Connect identity provider. Authenticate AI agents, mobile apps, third-party services, and more using your existing Supabase Auth users.
Key benefits
- Complete control: Build custom authorization UI for your brand.
- AI agent authentication: LLM tools and MCP servers authenticate as existing users.
- First-party mobile apps: Issue tokens to your own mobile and desktop apps.
- Enterprise SSO: Provide OIDC for enterprise customer integrations.
- Multi-service auth: Single identity provider for multiple services.
- RLS policy enforcement: Access tokens respect Row Level Security policies.
Flows supported
Authorization code flow with PKCE. Refresh token flow. ID tokens when openid scope requested.
Endpoints
Authorization endpoint /oauth/authorize. Token endpoint /oauth/token. UserInfo endpoint /oauth/userinfo. JWKS endpoint .well-known/jwks.json. Discovery endpoints for OpenID and OAuth.
OAuth 2.1 Server is valuable for:
- Authenticating AI agents and MCP servers
- Building "Login with Your App" for third parties
- First-party mobile and desktop applications
- Enterprise customer integrations
- Multi-service authentication architectures
OAuth 2.1 Server provides enterprise-grade identity provider capabilities built on your Supabase Auth foundation.