Skip to main content

Overview

Methods

getPrimary()

Get the primary auth provider.
Example:

getAuthProviders()

Get all auth provider entries.
Example:

Auth Modes

FrontMCP supports multiple authentication modes:

Public

No authentication required

Transparent

Auth handled externally

Orchestrated

Full auth flow management

Public Mode

No authentication required:

Transparent Mode

Auth is handled by an external system (e.g., API gateway):

Orchestrated Mode

Full auth flow with OAuth support:

Properties

primary

The primary auth provider instance (FrontMcpAuth).

parsedOptions

The parsed authentication configuration.

requiresOrchestration

Whether the current configuration requires orchestration.

detection

Auth provider detection result across apps in scope.

Auth Provider Detection

The registry detects auth requirements across the scope hierarchy:

Context Extensions

Orchestrated auth installs context extensions:

Configuration Validation

The registry validates auth configuration:

FrontMcpAuth API

The primary auth provider exposes:

Session Integration

Auth integrates with session management:

Multi-App Auth

When multiple apps have different auth requirements: