Skip to content

Commit 9a65dd3

Browse files
author
Ric Janus Sapasap
committed
Fix redirect_uri test
1 parent f519bc6 commit 9a65dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/satosa/backends/test_idpy_oidc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def test_start_auth_redirects_to_provider_authorization_endpoint(self, context):
229229
assert auth_params["scope"] == " ".join(_client.context.claims.get_usage("scope"))
230230
assert auth_params["response_type"] == _client.context.claims.get_usage("response_types")[0]
231231
assert auth_params["client_id"] == _client.client_id
232-
assert auth_params["redirect_uri"] == _client.context.claims.get_usage("redirect_uris")[0]
232+
assert auth_params["redirect_uri"] in _client.context.claims.get_usage("redirect_uris")
233233
assert "state" in auth_params
234234
assert "nonce" in auth_params
235235

0 commit comments

Comments
 (0)