Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCodeExchange = errors.New("error on code exchange")
ErrCodeExchange is returned when the auth code exchange failed
View Source
var ErrJWTClaims = errors.New("invalid jwt claims")
ErrJWTClaims is returned when required claims are missing
View Source
var ErrJWTParse = errors.New("cannot parse jwt")
ErrJWTParse is returned when a given JWT is invalid
View Source
var ErrNoEmail = errors.New("no email found in user profile")
ErrNoEmail is returned when no email is present in the OIDC profile
View Source
var ErrProfile = errors.New("error getting user profile")
ErrProfile is returned when user profile fetch failed
Functions ¶
This section is empty.
Types ¶
type OAuth2Config ¶
type OAuth2Config struct { ClientID string ClientSecret string AuthURL string TokenURL string ProfileURL string }
OAuth2Config OAuth2 provider configuration settings
Click to show internal directories.
Click to hide internal directories.