Skip to content
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

docs(scoping): fix for example #504

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

rob-gijsens
Copy link
Contributor

Fix in the README example of the scoping option which I previously added in a different PR.

README.md Outdated
name: 'yourName', // optional
loc: 'yourLoc', // optional
}
idpList: [ // required
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is idpList really required now? If so, I think that may have been a breaking change that we didn't properly account for.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cjbarth My mistake.

The idpList isn't required as stated in the saml2.0 spec. It actually wasn't required in the previously added feature either as can be seen in /src/passport-saml/saml/ts:361.
The only mismatch was in the Typescript interface SamlScopingConfig. I reverted the required to optional in the documentation and fixed the Typescript interface in my latest commit.

@rob-gijsens
Copy link
Contributor Author

@cjbarth Thanks for approving. What is next in the PR process? I don't have write access to this repository to merge this PR myself, and also haven't the right authorization to assign someone who does. Is this automatically being merged when a next release is made?

@cjbarth cjbarth merged commit f6329ea into node-saml:master Dec 15, 2020
@cjbarth cjbarth mentioned this pull request May 10, 2021
@cjbarth cjbarth added the documentation Request for or contribution to documentation label May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Request for or contribution to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants