-
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
Create a way to get provider metadata when using the MultiSamlStrategy #323
Conversation
@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? |
@mlunoe Please add tests and documentation for your commit and squash the result into a single commit. In the meantime, you can use the |
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. |
Thanks. I've made a note to a do a final review and release. |
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.
I made an update to embraced the callback structure that the |
@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. |
@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. |
I found a bug with this feature. I'll make a PR soon to fix it. |
Thanks @cjbarth I'll wait for that. |
I was noticing the failing tests. Do we know when they started failing? |
@markstos , I've created PR #367 to fix the broken tests. Once that lands, if @Archinowsk wants to merge |
Please do if you are available :). |
@Archinowsk I'll be glad to help here. Hopefully we can get that landed in a v1.1 too, if @markstos approves. |
v1.1 was released today. |
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 thegenerateServiceProviderMetadata
-function with.