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

Remove node-saml code and use an import instead #612

Merged
merged 3 commits into from
Jun 30, 2021

Conversation

cjbarth
Copy link
Collaborator

@cjbarth cjbarth commented Jun 17, 2021

This is a removal of all the SAML-specific code from this project and instead importing it from node-saml. There are some changes needed to that repo to support this split, which are tracked here.

The idea is to have no functional changes with this PR as apparent from a consumer via the Passport framework, but there will still be major breaking changes to anyone that may have used the internals of this project for their own SAML purposes. This will be released as a 4.0.0 release when it is ready.

package.json Outdated
@@ -51,6 +51,7 @@
},
"dependencies": {
"debug": "^4.3.1",
"node-saml": "file:../node-saml",
Copy link
Contributor

Choose a reason for hiding this comment

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

this seems to expect a certain folder structure which is fine for local development during the transition but should probably at least be a import from a git hash before the PR lands (and quickly be changed to the actual npm package)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Absolutely. I wasn't going to land it like this. I wanted to get an NPM package in here; thus the other PR over there. I put this up so you could all see why I made the changes I did over on the node-saml project. If everything else looks good here, I'll adjust this reference as soon as node-saml is released as a package.

@cjbarth cjbarth marked this pull request as ready for review June 30, 2021 13:34
@cjbarth cjbarth requested a review from zoellner June 30, 2021 13:34
@cjbarth
Copy link
Collaborator Author

cjbarth commented Jun 30, 2021

I think this should be good to merge now that it references a beta version of node-saml. We can move to the real version once we are all sure of everything on both sides.

Landing this will allow me to make a PR for another bug fix with the SLO stuff.

@cjbarth cjbarth merged commit bba77bc into node-saml:master Jun 30, 2021
@cjbarth cjbarth deleted the split branch June 30, 2021 18:17
@cjbarth cjbarth added the dependencies Pull requests that update a dependency file label Sep 10, 2022
@cjbarth cjbarth added the breaking-change Not backwards compatible. Requires major version bump. label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Not backwards compatible. Requires major version bump. dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants