scopes_supported
RECOMMENDED. JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports.
It should be returning a simple json array of scopes, where as currently it is returning a json object with scopes and descriptions.
Currently it returns something like:
"scopes_supported": {
"openid": "Enable OpenID Connect",
"profile": "Information about your profile",
"email": "Information about your email address",
"phone": "Information about your phone numbers",
"address": "Information about your address"
}
The value of
scopes_supported
as returned by the default endpoint/.well-known/openid-configuration
violates the spec as outlined here: https://openid.net/specs/openid-connect-discovery-1_0-37.htmlscopes_supported RECOMMENDED. JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports.
It should be returning a simple json array of scopes, where as currently it is returning a json object with scopes and descriptions.
Currently it returns something like:
and it should return something like:
To correct this, Line 35 of DiscoveryController.php:
Should be changed to: