-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support redirect for Logout flows #277
Conversation
65a5ea7
to
0b895a9
Compare
I would love to see this merged - did you try it with SLO of OneLogin? |
I had (and fixed) a bug when retrieving the |
To help review, you could link to the part of the SAML spec that discuss SP SLO and related topics. I think this will be a nice feature to add, but want to be sure about our spec compliance. Thanks. |
Also could you say more about why the mentioned commit was reverted? |
which builds a use case for supporting redirect SLO ( regarding the commit, I think it's an error on my end, I meant revert I'll amend and rebase on master |
See also the TODO on 638ce6e#diff-41fc97a3e28a2b6f8b5ec3bdae6130d5R190 the signature of the saml{request|response} in a redirect flow is passed as a query param |
@stavros-wb Thanks! I'll look for the revised PR. |
@stavros-wb I'm thinking of doing a "1.0" release within the next 10 days and could include this revised PR if it's ready. |
6995d78
to
1dff351
Compare
thanks @markstos , rebased and squashed on latest master |
@stavros-wb This looks good to me. Are they are related updates to the README that need to be made for this? @cjbarth Any other concerns here before this gets merged? |
@stavros-wb Also, can you confirm if this is considered a breaking change? |
I don't have any concerns about this, but I also don't have a lot of experience with this. I do feel that a README update is warranted though. |
Nope. this is not a breaking change. It supports redirects on Logouts, while right now passport-saml supports only
I don't think a README entry is required. I'm not opposed to it, though. SLO is already supported if the protocol binding is |
I think it would be useful to mention in the Logout section of the docs that we support SLO and explicitly mention that we support both POST and Redirect bindings. |
• Builds on node-saml#16 • Reverts 638ce6e • Implements node-saml#191
1dff351
to
9352ebc
Compare
@markstos I've added a small list regarding SLO in the README file |
• Builds on #16 Inflating redirect response
• Reverts [638ce6e accepting redirect as well as post; redirect not verified(638ce6e)
• Implements
Support HTTP-Redirect binding for IdP to SP SLO