Closed
Description
Is there a way to initialize a provider which doesn't implement the OpenID Connect Discovery spec, i.e. doesn't have a .well-known/openid-configuration
JSON file? I would like to be able to specify the configuration myself in that case, for example:
provider := &oidc.Provider{
Issuer: "https://gitlab.com/",
AuthURL: "https://gitlab.com/oauth/authorize",
TokenURL: "https://gitlab.com/oauth/token",
UserInfoURL: "https://gitlab.com/oauth/userinfo",
Algorithms: []string{"RS256"},
RemoteKeySet: oidc.NewRemoteKeySet(ctx, "https://gitlab.com/oauth/discovery/keys")
}
The Provider
fields are not exported, so I can't do it like that.
Metadata
Metadata
Assignees
Labels
No labels