Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 59f8170

Browse files
committed
post_logout_redirect_uri not post_logout_redirect_uris
1 parent 57330a1 commit 59f8170

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/oidcrp/oidc/end_session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ def add_post_logout_redirect_uri(self, request_args=None, **kwargs):
5959
if _uri:
6060
request_args['post_logout_redirect_uri'] = _uri
6161
else:
62-
_uris = _context.callback.get("post_logout_redirect_uri", [])
63-
if _uris:
64-
request_args['post_logout_redirect_uri'] = _uris[0]
62+
_uri = _context.callback.get("post_logout_redirect_uri")
63+
if _uri:
64+
request_args['post_logout_redirect_uri'] = _uri
6565

6666
return request_args, {}
6767

0 commit comments

Comments
 (0)