-
Notifications
You must be signed in to change notification settings - Fork 474
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
feat(authorize-request): idp scoping provider #428
feat(authorize-request): idp scoping provider #428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested this behavior with my setup and this works as expected.
Any update on this? Really needing this feature to make passport-saml a suitable package for my project. |
@bergie Any update on when pending PR's are getting processed? |
I still really needs this feature for my project. Would be nice if someone has some time to have a look at this PR. @cjbarth I noticed you are one of the collaborators which has been recently active on this project. Could you maybe explain to me what the status is of this project/my PR? |
@rob-gijsens This is still an active project. This looks like a good feature to add. We just ask two things for features being added:
|
@rob-gijsens The project has recently become more actively maintained, with multiple committers and people with publish rights added. It's actively being rewritten in TypeScript and other moderization efforts are underway. Some people who were working on their own forks are now collaborating on this instead. |
@cjbarth @markstos Thank you for your explanation, and good to hear the project is still actively maintained. @cjbarth As an answer to your questions: 1: The SAML2.0 specification for the 'Scoping' can be found in the following document: Page 51, Paragraph 3.4.1.2 Element |
@rob-gijsens Thanks for the work. Github is reporting conflicts. Could you rebase and squash your work into a single commit and force push that to this branch? |
@rob-gijsens As I read over the spec, it seems that your change, while fitting the spec, is very limited. It doesn't even seem to leave much room to gracefully grow support to the rest of the @markstos , what do you think? Would it make more sense to have an object be provided as a config that can more easily be expanded later to support the rest of the |
2843faa
to
dbf77d4
Compare
@cjbarth I agree. The current proposal will make it awkard to support of the rest of the @rob-gijsens Are you willing to update the contribution to support the list of the Scoping spec, including |
dbf77d4
to
8b7c6c4
Compare
QA Log
|
Hi everybody,
In my case, the configured IDP in passport-saml is a proxying IDP. This IDP manages the connection with several underlying IDP's.
In some usecases, you want to target a specific IDP from within the application logic. This can be accomplished by targeting a IDP by IDPScoping. I added the option 'idpScopingProviderId' to the additonalSamlBehavior options that adds a node to the SAML AuthnRequest.
It would be very helpfull if this (relative small) feature could be merged in!
Greetings,
Rob