[Question] What is the purpose of `create_logout_response_url` under SP
nkumarcc opened this issue · 0 comments
nkumarcc commented
This may be a dumb question, but what does this function do? Here's my projected SAML Logout flow:
- Logout from site (SP)
- Send request to IdP via
sp.create_logout_*request*_url
- IdP sees request, sends encoded SAMLResponse to specified SLO endpoint
- SP validates the response as legitimate, completes logout
In this workflow, I think for step 4 you'd want a function similar to redirect_assert
to parse and validate the response. Wouldn't creating a response URL only be something an IdP would do to tell an SP the logout went successfully?
This is all my own thought process, and I'm sure I'm just missing something, but wanted some insight