Skip to content

Commit d10fa71

Browse files
committed
No 's' at the end of the post_logout_redirect_uri client parameter.
1 parent 21ad3b9 commit d10fa71

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

tests/test_client_21_oidc_service.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -768,13 +768,13 @@ def test_construct(self):
768768
assert len(_req) == 4
769769

770770
def test_config_with_post_logout(self):
771-
self.service.client_get("service_context").register_args["post_logout_redirect_uris"] = [
772-
"https://example.com/post_logout"
773-
]
771+
self.service.client_get("service_context").register_args[
772+
"post_logout_redirect_uri"] = "https://example.com/post_logout"
773+
774774
_req = self.service.construct()
775775
assert isinstance(_req, RegistrationRequest)
776776
assert len(_req) == 5
777-
assert "post_logout_redirect_uris" in _req
777+
assert "post_logout_redirect_uri" in _req
778778

779779

780780
def test_config_with_required_request_uri():
@@ -823,10 +823,9 @@ def test_config_logout_uri():
823823
_context.config["client_preferences"]["frontchannel_logout_usable"] = True
824824
_req = service.construct()
825825
assert isinstance(_req, RegistrationRequest)
826-
assert len(_req) == 7
826+
assert len(_req) == 6
827827
assert "request_uris" in _req
828828
assert "frontchannel_logout_uri" in _req
829-
assert "post_logout_redirect_uris" in _req
830829

831830

832831
class TestUserInfo(object):

0 commit comments

Comments
 (0)