forked from Github-Mirrors/canaille
Fixed a bug happening during RP initiated logout on clients without post_logout_redirect_uri defined
This commit is contained in:
parent
6facd248a9
commit
fdb8714094
2 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@ Fixed
|
|||
|
||||
- Fixed a bug on the contacts field in the admin client form following
|
||||
the LDAP schema update of 0.0.12
|
||||
- Fixed a bug happening during RP initiated logout on clients without
|
||||
`post_logout_redirect_uri` defined.
|
||||
|
||||
[0.0.12] - 2022-10-24
|
||||
=====================
|
||||
|
|
|
@ -310,7 +310,7 @@ def end_session():
|
|||
for client_id in client_ids:
|
||||
client = Client.get(client_id)
|
||||
if client:
|
||||
valid_uris.extend(client.post_logout_redirect_uris)
|
||||
valid_uris.extend(client.post_logout_redirect_uris or [])
|
||||
|
||||
if user.uid[0] != id_token["sub"] and not session.get(
|
||||
"end_session_confirmation"
|
||||
|
|
Loading…
Reference in a new issue