Skip to content

Commit

Permalink
- Add AMS client id to logout params
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Sep 12, 2024
1 parent 9abdcfb commit 08eecfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tdrs-backend/tdpservice/users/api/logout_redirect_oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def get(self, request, *args, **kwargs):

# build out full API GET call to authorize endpoint
if use_ams_handler:
logout_params["client_id"] = settings.AMS_CLIENT_ID
ams_configuration = LoginRedirectAMS.get_ams_configuration()
encoded_params = urlencode(logout_params, quote_via=quote_plus)
return HttpResponseRedirect(ams_configuration["end_session_endpoint"] + "?" + encoded_params)
Expand Down

0 comments on commit 08eecfa

Please sign in to comment.