fix(oidc): implement required subject types supported meta (#1996)
The well known openid-configuration should have the subject_types_supported meta values.pull/1998/head
parent
2c8341974d
commit
46c8a25c15
|
@ -50,6 +50,9 @@ func oidcWellKnown(ctx *middlewares.AutheliaCtx) {
|
||||||
"groups",
|
"groups",
|
||||||
"name",
|
"name",
|
||||||
}
|
}
|
||||||
|
configuration.SubjectTypesSupported = []string{
|
||||||
|
"public",
|
||||||
|
}
|
||||||
configuration.ResponseTypesSupported = []string{
|
configuration.ResponseTypesSupported = []string{
|
||||||
"code",
|
"code",
|
||||||
"token",
|
"token",
|
||||||
|
|
|
@ -52,6 +52,7 @@ type WellKnownConfigurationJSON struct {
|
||||||
RevocationEndpoint string `json:"revocation_endpoint"`
|
RevocationEndpoint string `json:"revocation_endpoint"`
|
||||||
JWKSURL string `json:"jwks_uri"`
|
JWKSURL string `json:"jwks_uri"`
|
||||||
Algorithms []string `json:"id_token_signing_alg_values_supported"`
|
Algorithms []string `json:"id_token_signing_alg_values_supported"`
|
||||||
|
SubjectTypesSupported []string `json:"subject_types_supported"`
|
||||||
ResponseTypesSupported []string `json:"response_types_supported"`
|
ResponseTypesSupported []string `json:"response_types_supported"`
|
||||||
ScopesSupported []string `json:"scopes_supported"`
|
ScopesSupported []string `json:"scopes_supported"`
|
||||||
ClaimsSupported []string `json:"claims_supported"`
|
ClaimsSupported []string `json:"claims_supported"`
|
||||||
|
|
Loading…
Reference in New Issue