@@ -42,7 +42,6 @@ def setup(self):
4242 self .supported = supported
4343
4444 def test_supported (self ):
45- assert 'token_endpoint_auth_methods_supported' not in self .supported
4645 # These are all the available configuration parameters
4746 assert set (self .supported .keys ()) == {
4847 'acr_values_supported' ,
@@ -88,8 +87,8 @@ def test_supported(self):
8887 'scopes_supported' ,
8988 'sector_identifier_uri' ,
9089 'subject_types_supported' ,
91- 'token_endpoint_auth_method' ,
92- # 'token_endpoint_auth_methods_supported',
90+ # 'token_endpoint_auth_method',
91+ 'token_endpoint_auth_methods_supported' ,
9392 'token_endpoint_auth_signing_alg_values_supported' ,
9493 'tos_uri' ,
9594 'userinfo_encryption_alg_values_supported' ,
@@ -117,7 +116,6 @@ def test_oidc_setup(self):
117116 'require_request_uri_registration' ,
118117 'service_documentation' ,
119118 'token_endpoint' ,
120- 'token_endpoint_auth_methods_supported' ,
121119 'ui_locales_supported' ,
122120 'userinfo_endpoint' }
123121
@@ -147,7 +145,6 @@ def test_oidc_setup(self):
147145 'requests_dir' ,
148146 'require_auth_time' ,
149147 'sector_identifier_uri' ,
150- 'token_endpoint_auth_method' ,
151148 'tos_uri' }
152149
153150 claims = OIDC_Claims ()
@@ -173,7 +170,7 @@ def test_oidc_setup(self):
173170 'response_types_supported' ,
174171 'scopes_supported' ,
175172 'subject_types_supported' ,
176- 'token_endpoint_auth_method ' ,
173+ 'token_endpoint_auth_methods_supported ' ,
177174 'token_endpoint_auth_signing_alg_values_supported' ,
178175 'userinfo_encryption_alg_values_supported' ,
179176 'userinfo_encryption_enc_values_supported' ,
@@ -187,7 +184,7 @@ def test_oidc_setup(self):
187184 reg_claim .append (key )
188185
189186 assert set (RegistrationRequest .c_param .keys ()).difference (set (reg_claim )) == {
190- 'post_logout_redirect_uri' , 'token_endpoint_auth_method' }
187+ 'post_logout_redirect_uri' }
191188
192189 # Which ones are list -> singletons
193190
@@ -250,7 +247,7 @@ def test_provider_info(self):
250247 'response_types_supported' ,
251248 'scopes_supported' ,
252249 'subject_types_supported' ,
253- 'token_endpoint_auth_method ' ,
250+ 'token_endpoint_auth_methods_supported ' ,
254251 'token_endpoint_auth_signing_alg_values_supported' ,
255252 'userinfo_encryption_alg_values_supported' ,
256253 'userinfo_encryption_enc_values_supported' ,
@@ -350,6 +347,7 @@ def test_registration_response(self):
350347 'request_object_signing_alg' ,
351348 'response_types' ,
352349 'subject_type' ,
350+ 'token_endpoint_auth_method' ,
353351 'token_endpoint_auth_signing_alg' ,
354352 'userinfo_signed_response_alg' }
355353
0 commit comments