Repository navigation
Conversation
SSOSAMLSettings and SSOSAMLSettingsByMetadata get single_logout_enabled and idp_single_logout_url. Each is sent only when set, so a configure call that leaves them out keeps the stored values. An empty idp_single_logout_url clears it (it is then taken from the IdP metadata). logout and logout_all (sync and async) get sso_logout and redirect_url. With sso_logout, the response JSON holds ssoLogoutUrl when the session signed in through a SAML SSO configuration with single logout on: the app sends the browser there to log the user out at the IdP too. Without the new arguments the request body stays empty, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
🐕 Shuni ReviewNo new issues found. Approval outcome: APPROVED 🤖 Model: Review scope: Full review Reviewed files (9)
🐕 Review complete — View session on Shuni Portal 🐾 🤖 Model: |
Coverage reportThe coverage rate went from
Diff Coverage details (click to unfold)descope/management/sso_settings.py
descope/_client_base.py
descope/descope_client.py
descope/descope_client_async.py
descope/management/_sso_settings_base.py
|
Member
Author
|
@shuni review |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Required for:
https://github.com/descope/etc/issues/20773
Description
A tenant's SAML SSO configuration can turn on SAML Single Logout (SLO), and an app's logout can then log the user out at the identity provider (IdP) too.
SSOSAMLSettingsandSSOSAMLSettingsByMetadatagetsingle_logout_enabledandidp_single_logout_url, sent only when set so existing callers keep what is stored.logoutandlogout_all(sync and async) getsso_logoutandredirect_url; withsso_logout, the response JSON holdsssoLogoutUrlwhen there is an IdP logout to do, and the app sends the browser there.In a Nutshell
SSOSAMLSettings/SSOSAMLSettingsByMetadata:single_logout_enabled,idp_single_logout_url(None keeps the stored value, empty URL clears it)logout/logout_all(sync and async):sso_logout,redirect_url; readssoLogoutUrlfromresponse.json(){}, as beforeload_settingsdocs:singleLogoutEnabled,idpSingleLogoutUrl,spSingleLogoutUrlundersamlMust
🤖 Generated with Claude Code