mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
feat(oidc): include introspection_endpoint in .well-known/openid-configuration
This adds the OAuth 2.0 introspection endpoint to the OpenID Connect discovery document. https://datatracker.ietf.org/doc/html/draft-ietf-oauth-discovery-10
This commit is contained in:
parent
ea084351ef
commit
c99b6e7294
|
@ -27,6 +27,7 @@ func oidcWellKnown(ctx *middlewares.AutheliaCtx) {
|
|||
TokenEndpoint: fmt.Sprintf("%s%s", issuer, pathOpenIDConnectToken),
|
||||
RevocationEndpoint: fmt.Sprintf("%s%s", issuer, pathOpenIDConnectRevocation),
|
||||
UserinfoEndpoint: fmt.Sprintf("%s%s", issuer, pathOpenIDConnectUserinfo),
|
||||
IntrospectionEndpoint: fmt.Sprintf("%s%s", issuer, pathOpenIDConnectIntrospection),
|
||||
|
||||
Algorithms: []string{"RS256"},
|
||||
UserinfoAlgorithms: []string{"none", "RS256"},
|
||||
|
|
|
@ -93,6 +93,7 @@ type WellKnownConfiguration struct {
|
|||
TokenEndpoint string `json:"token_endpoint"`
|
||||
RevocationEndpoint string `json:"revocation_endpoint"`
|
||||
UserinfoEndpoint string `json:"userinfo_endpoint"`
|
||||
IntrospectionEndpoint string `json:"introspection_endpoint"`
|
||||
|
||||
Algorithms []string `json:"id_token_signing_alg_values_supported"`
|
||||
UserinfoAlgorithms []string `json:"userinfo_signing_alg_values_supported"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user