Skip to content

Commit

Permalink
change 'redirect_uri' to 'post_logout_redirect_ui' / 'client_id' in l…
Browse files Browse the repository at this point in the history
…ogout config
  • Loading branch information
jezwilkinson authored and diocas committed Nov 22, 2024
1 parent 8b624d7 commit 7d67f0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion KeyCloakAuthenticator/keycloakauthenticator/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ async def _get_oidc_configs(self):
end_session_url = data.get('end_session_endpoint')
if self.enable_logout and end_session_url:
if self.logout_redirect_url:
end_session_url += '?redirect_uri=%s' % self.logout_redirect_url
end_session_url += '?post_logout_redirect_uri=%s' % self.logout_redirect_url
end_session_url += '&client_id=%s' % self.client_id
# Update parent class OAuthenticator.logout_redirect_url
self.logout_redirect_url = end_session_url

Expand Down

0 comments on commit 7d67f0f

Please sign in to comment.