Sustainsys / Saml2

Saml2 Authentication services for ASP.NET
Other
961 stars 603 forks source link

SP initiated SSO with multiple schemes and multiple IDps #1274

Closed EugenGu closed 2 years ago

EugenGu commented 3 years ago

Hello I have a IdentityServer4 that is working as a Service provider, I am currently using Saml2.AspnetCore2 version 2.8. I am trying to register multiple Saml2 schemes in startup to be able to use multiple IDps. When I try to challenge with the second registered scheme the response from Idp is then redirected to Saml2Handler to HandleRequestAsync which is correct, but the instance of that Saml2Handler is for the first registered scheme. I have attached a screenshot with configuration from startup. samlConfig

AlexOliinyk1 commented 3 years ago

@EugenGu Hello, how I can contact you? It same issue for me...