Mistake in MvcExampleServiceProvider


It seems there is a mistake in MvcExampleServiceProvider.Controllers.SAMLController.InitiateSingleSignOn method, in the SAMLServiceProvider.InitiateSSO call.
“SAMLServiceProvider.InitiateSSO(Response, partnerName, returnUrl);”
The last two parameters should be the other way around:
SAMLServiceProvider.InitiateSSO(Response, returnUrl, partnerName);

Using SAML2 for ASP.NET version


Thanks for pointing this out. It will be included in the next release.