Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Issuer is the OIDC issuer URL.
Issuer string `json:"issuer"`
// JWKsURI is the URI of the JWKS.
JWKsURI string `json:"jwks_uri"`
}
Config holds the OIDC configuration.
func GetConfiguration ¶
func GetConfiguration(ctx context.Context, client *retryablehttp.Client, url string) (*Config, error)
GetConfiguration fetches the OIDC configuration from the given URL using the provided HTTP client.
Click to show internal directories.
Click to hide internal directories.