OidcRouteOptions Class
Route templates for the OpenID Connect and OAuth 2.0 endpoints mapped by MapOidcEndpoints(this IEndpointRouteBuilder, string).
public sealed class OidcRouteOptionsInheritance System.Object → OidcRouteOptions
Remarks
The MVC integration encodes these paths as tokenized templates resolved through the MVC application model.
Minimal API has no application-model hook, so the same configurability is expressed as a plain options object:
a host overrides any path through the options pattern, and the endpoints are mapped against the resolved literals
at startup. Defaults mirror the MVC fallbacks (/connect/* and /.well-known/*).
Properties
OidcRouteOptions.Authorize Property
The authorization endpoint (OpenID Connect Core 3.1).
public string Authorize { get; set; }Property Value
OidcRouteOptions.BackChannelAuthentication Property
The backchannel authentication endpoint (OpenID Connect CIBA).
public string BackChannelAuthentication { get; set; }Property Value
OidcRouteOptions.CheckSession Property
The check-session endpoint (OpenID Connect Session Management 4).
public string CheckSession { get; set; }Property Value
OidcRouteOptions.Configuration Property
The OpenID Provider configuration document (OpenID Connect Discovery 4).
public string Configuration { get; set; }Property Value
OidcRouteOptions.DeviceAuthorization Property
The device authorization endpoint (RFC 8628).
public string DeviceAuthorization { get; set; }Property Value
OidcRouteOptions.EndSession Property
The end-session (logout) endpoint (OpenID Connect Session Management 5).
public string EndSession { get; set; }Property Value
OidcRouteOptions.Introspection Property
The token introspection endpoint (RFC 7662).
public string Introspection { get; set; }Property Value
OidcRouteOptions.Keys Property
The JSON Web Key Set endpoint (OpenID Connect Discovery 4).
public string Keys { get; set; }Property Value
OidcRouteOptions.OAuthAuthorizationServer Property
The OAuth 2.0 Authorization Server Metadata document (RFC 8414 §3) - the same metadata served at Configuration, also exposed at the oauth-authorization-server suffix.
public string OAuthAuthorizationServer { get; set; }Property Value
OidcRouteOptions.PushedAuthorizationRequest Property
The pushed authorization request endpoint (RFC 9126).
public string PushedAuthorizationRequest { get; set; }Property Value
OidcRouteOptions.Register Property
The dynamic client registration endpoint (OpenID Connect Dynamic Client Registration).
public string Register { get; set; }Property Value
OidcRouteOptions.RegisterClient Property
The client configuration endpoint (RFC 7592). Must contain the {clientId} route parameter.
public string RegisterClient { get; set; }Property Value
OidcRouteOptions.Revocation Property
The token revocation endpoint (RFC 7009).
public string Revocation { get; set; }Property Value
OidcRouteOptions.Token Property
The token endpoint (OpenID Connect Core 3.1.3, OAuth 2.0 RFC 6749 3.2).
public string Token { get; set; }Property Value
OidcRouteOptions.UserInfo Property
The UserInfo endpoint (OpenID Connect Core 5.3).
public string UserInfo { get; set; }