Skip to content

Commit ee74bce

Browse files
committed
Change token_endpoint_auth_methods_supported to be an array.
1 parent f5fa894 commit ee74bce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Config/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ final public function __construct(array $data, bool $strict = false)
6161
OidcMeta::TOKEN_TYPES_SUPPORTED => array("legacyPop","dpop"),
6262
OidcMeta::RESPONSE_MODES_SUPPORTED => array("query","fragment"),
6363
OidcMeta::GRANT_TYPES_SUPPORTED => array("authorization_code","implicit","refresh_token","client_credentials"),
64-
OidcMeta::TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED => "client_secret_basic",
64+
OidcMeta::TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED => ["client_secret_basic"],
6565
OidcMeta::TOKEN_ENDPOINT_AUTH_SIGNING_ALG_VALUES_SUPPORTED => ["RS256"],
6666
OidcMeta::CODE_CHALLENGE_METHODS_SUPPORTED => ["S256"],
6767
OidcMeta::DPOP_SIGNING_ALG_VALUES_SUPPORTED => ["RS256"],

tests/unit/Config/ServerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ final public function testServerConfigShouldReturnExpectedValuesWhenSerializedWi
108108
'token_types_supported' => ['legacyPop','dpop'],
109109
'response_modes_supported' => ['query', 'fragment'],
110110
'grant_types_supported' => ['authorization_code', 'implicit', 'refresh_token', 'client_credentials'],
111-
'token_endpoint_auth_methods_supported' => 'client_secret_basic',
111+
'token_endpoint_auth_methods_supported' => ['client_secret_basic'],
112112
'token_endpoint_auth_signing_alg_values_supported' => ['RS256'],
113113
'display_values_supported' => [],
114114
'claim_types_supported' => ['normal'],

0 commit comments

Comments
 (0)