changed subject_types_supported to array of strings according to OIDC specs

This commit is contained in:
Olatunji Longe
2023-10-20 20:10:10 -04:00
parent 734e54db69
commit be3d8cf69b
5 changed files with 20 additions and 4383 deletions

View File

@@ -24,7 +24,7 @@ func OpenIDConfigurationHandler() gin.HandlerFunc {
"response_types_supported": []string{"code", "token", "id_token"},
"scopes_supported": []string{"openid", "email", "profile"},
"response_modes_supported": []string{"query", "fragment", "form_post", "web_message"},
"subject_types_supported": "public",
"subject_types_supported": []string{"public"},
"id_token_signing_alg_values_supported": []string{jwtType},
"claims_supported": []string{"aud", "exp", "iss", "iat", "sub", "given_name", "family_name", "middle_name", "nickname", "preferred_username", "picture", "email", "email_verified", "roles", "role", "gender", "birthdate", "phone_number", "phone_number_verified", "nonce", "updated_at", "created_at", "revoked_timestamp", "login_method", "signup_methods", "token_type"},
})