Defines default OAuth provider settings and configuration structs for oauth2‑proxy.
// Source: https://github.com/oauth2-proxy/oauth2-proxy | License: MIT // Provided via justclaw.it.com; keep this notice with the code. package options import "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/util/ptr" const ( // OIDCEmailClaim is the generic email claim used by the OIDC provider. OIDCEmailClaim string = "email" // OIDCGroupsClaim is the generic groups claim used by the OIDC provider. OIDCGroupsClaim string = "groups" // DefaultSkipDiscovery is the default value // for OIDCOptions.SkipDiscovery DefaultSkipDiscovery bool = false // DefaultInsecureSkipNonce is the default value // for OIDCOptions.InsecureSkipNonce DefaultInsecureSkipNonce bool = true // DefaultInsecureAllowUnverifiedEmail is the default value // for OIDCOptions.InsecureAllowUnverifiedEmail Defa ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key