Authentication Modes
FrontMCP supports four authentication modes, each designed for different deployment scenarios:Public Mode
mode: 'public' — No authentication required. Anonymous sessions are auto-generated for all requests.Best for: Development, testing, public APIsTransparent Mode
mode: 'transparent' — Pass-through tokens from external identity providers. FrontMCP validates tokens against upstream JWKS.Best for: Existing Auth0, Okta, Azure AD integrationsLocal Mode
mode: 'local' — Built-in OAuth 2.1 authorization server. FrontMCP issues and validates its own tokens.Best for: Self-contained auth, multi-app scenarios, progressive authorizationRemote Mode
mode: 'remote' — FrontMCP runs as an OAuth 2.1 server that proxies user authentication to an upstream IdP.Best for: Federated auth, IdPs without DCR, custom consent layerQuick Mode Selection
Configuration Levels
Authentication can be configured at two levels:- Server Level
- App Level
Apply the same auth configuration to all apps:
OAuth 2.1 Compliance
FrontMCP’slocal mode is fully OAuth 2.1 compliant. In remote mode, FrontMCP’s own endpoints (the surface the MCP client talks to) are OAuth 2.1-aligned, but the end-to-end behavior also depends on the upstream identity provider FrontMCP is proxying to.
The guarantees below apply to FrontMCP’s own implementation:
PKCE Required - Only S256 code challenge method supported (downstream)
Authorization Code Flow - No implicit or password grants
Refresh Token Rotation - FrontMCP-issued refresh tokens rotate on each use (
local mode; remote mode mirrors upstream behavior)JWT Access Tokens - Signed with RS256 or ES256
Session Management
Sessions determine how tokens are stored and managed:Discovery Endpoints
FrontMCP exposes standard OAuth discovery endpoints:Next Steps
Authorization Modes
Deep dive into public, transparent, local, and remote modes
Token & Sessions
Configure token lifetimes and session management
Remote OAuth
Connect to external identity providers
Production Checklist
Security requirements for production deployments