Documentation
¶
Overview ¶
Package discovery serves RFC 8615 endpoints: /.well-known/openid-configuration and /.well-known/jwks.json.
Index ¶
Constants ¶
View Source
const ( JWKSPath = "/.well-known/jwks.json" ConfigPath = "/.well-known/openid-configuration" // OAuthServerPath is the RFC 8414 authorization-server metadata mirror of the OIDC discovery document. OAuthServerPath = "/.well-known/oauth-authorization-server" )
Well-known endpoint paths and cache policy.
View Source
const ( AuthorizeEndpoint = "/authorize" TokenEndpoint = "/api/oidc/token" UserInfoEndpoint = "/api/oidc/userinfo" EndSessionEndpoint = "/api/oidc/end-session" IntrospectionEndpoint = "/api/oidc/introspect" // PushedAuthorizationRequestEndpoint is the RFC 9126 PAR endpoint. PushedAuthorizationRequestEndpoint = "/api/oidc/par" // DeviceAuthorizationEndpoint is the RFC 8628 device authorization endpoint. DeviceAuthorizationEndpoint = "/api/oidc/device/authorize" JWKSURI = "/.well-known/jwks.json" )
OIDC endpoint paths advertised in the discovery document.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct {
// contains filtered or unexported fields
}
Feature serves the discovery document and JWKS from the shared key provider.
Click to show internal directories.
Click to hide internal directories.