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

Create a way to get provider metadata when using the MultiSamlStrategy #323

Merged
merged 1 commit into from
Feb 11, 2019

Conversation

mlunoe
Copy link
Contributor

@mlunoe mlunoe commented Nov 28, 2018

This adds a function to pass in a request along with the other generateServiceProviderMetadata arguments to retrieve provider metadata when using the MultiSamlStrategy. If there is no request, we cannot call the _getSamlOptions-function to retrieve all the necessary options to call the generateServiceProviderMetadata-function with.

@mlunoe
Copy link
Contributor Author

mlunoe commented Dec 11, 2018

@markstos It would be wonderful to get this change in and get an updated version with it, so I can install it into our application. Is there anything else you need from me on this change?

@markstos
Copy link
Contributor

@mlunoe Please add tests and documentation for your commit and squash the result into a single commit.

In the meantime, you can use the package.json syntax to load a dependency straight from your Github repo instead of NPM.

@mlunoe
Copy link
Contributor Author

mlunoe commented Dec 12, 2018

That tests and description was a requirement would have been valuable information up front, so I did not have to wait :/

Ok, I have added tests and a description and squashed commits.

I am aware I can just pull this into my own repository but a released version would be much nicer.

@markstos
Copy link
Contributor

Thanks. I've made a note to a do a final review and release.

@markstos markstos added the 1.1 label Dec 12, 2018
This adds a function to pass in a request along with the other `generateServiceProviderMetadata` arguments to retrieve provider metadata when using the MultiSamlStrategy. If there is no request, we cannot call the `_getSamlOptions`-function to retrieve all the necessary options to call the `generateServiceProviderMetadata`-function with.
@mlunoe
Copy link
Contributor Author

mlunoe commented Jan 2, 2019

I made an update to embraced the callback structure that the getSamlOptions function requires and added tests to cover this change.

@markstos markstos merged commit b384277 into node-saml:master Feb 11, 2019
@markstos
Copy link
Contributor

@weikaolun @stavros-wb Thanks for the peer-reviews.

@mlunoe This is being merged now. A release is expected within a week, as some other PRs are under review as well.

@mlunoe mlunoe deleted the patch-1 branch February 12, 2019 08:59
@mlunoe mlunoe restored the patch-1 branch February 12, 2019 11:47
@cjbarth
Copy link
Collaborator

cjbarth commented Apr 23, 2019

@markstos I see that a release was expected within a week that would contain this fix, but that release is pending some other code being reviewed. I can help with reviews if that helps get this code out. I could use this for my project too.

@cjbarth
Copy link
Collaborator

cjbarth commented Apr 26, 2019

I found a bug with this feature. I'll make a PR soon to fix it.

@markstos
Copy link
Contributor

Thanks @cjbarth I'll wait for that.

@markstos
Copy link
Contributor

@cjbarth There are some failing tests on the master branch need review and fixing for a release to happen. Also, taking a look at #341 would be helpful.

@cjbarth
Copy link
Collaborator

cjbarth commented Apr 26, 2019

I was noticing the failing tests. Do we know when they started failing?

@cjbarth
Copy link
Collaborator

cjbarth commented Apr 26, 2019

@markstos , I've created PR #367 to fix the broken tests. Once that lands, if @Archinowsk wants to merge master into his branch for #341, that should fix his issues with broken tests. If not, I can have a look at that too. I would love to get this all wrapped up early next week if possible :)

@Archinowsk
Copy link
Contributor

Once that lands, if @Archinowsk wants to merge master into his branch for #341, that should fix his issues with broken tests. If not, I can have a look at that too.

Please do if you are available :).

@cjbarth
Copy link
Collaborator

cjbarth commented May 8, 2019

@Archinowsk I'll be glad to help here. Hopefully we can get that landed in a v1.1 too, if @markstos approves.

@markstos
Copy link
Contributor

v1.1 was released today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants