You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adjusted acs endpoint to extract NameQualifier and SPNameQualifier from SAMLResponse. Adjusted single logout service to provide NameQualifier and SPNameQualifier to logout method. Add getNameIdNameQualifier to Auth and SamlResponse. Extend logout method from Auth and LogoutRequest constructor to support SPNameQualifier parameter. Align LogoutRequest constructor with SAML specs
Also there are 4 optional parameters that can be set:
825
+
Also there are another 5 optional parameters that can be set:
826
826
827
827
*``name_id``. That will be used to build the LogoutRequest. If not ``name_id`` parameter is set and the auth object processed a
828
828
SAML Response with a NameId, then this NameId will be used.
829
829
*``session_index``. SessionIndex that identifies the session of the user.
830
830
*``nq``. IDP Name Qualifier
831
831
*``name_id_format``. The NameID Format that will be set in the LogoutRequest
832
+
*``spnq``: The ``NameID SP NameQualifier`` will be set in the ``LogoutRequest``.
832
833
833
834
If no name_id is provided, the LogoutRequest will contain a NameID with the entity Format.
834
835
If name_id is provided and no name_id_format is provided, the NameIDFormat of the settings will be used.
835
-
If nq is provided, the SPNameQualifier will be also attached to the NameId.
836
836
837
837
If a match on the LogoutResponse ID and the LogoutRequest ID to be sent is required, that LogoutRequest ID must to be extracted and stored for future validation, we can get that ID by:
838
838
@@ -858,7 +858,12 @@ elif 'sso2' in request.args: # Another SSO init action
858
858
return_to ='%sattrs/'% request.host_url # but set a custom RelayState URL
859
859
return redirect(auth.login(return_to))
860
860
elif'slo'in request.args: # SLO action. Will sent a Logout Request to IdP
0 commit comments