elerch / SAML2

Fork of SAML2 library on codeplex. This library removes dependencies on Asp.net
Mozilla Public License 2.0
117 stars 63 forks source link

Default to RedirectAfterLogin in SamlAuthenticationHandler.ApplyResponseChallengeAsync #27

Open samunro opened 5 years ago

samunro commented 5 years ago

The current default is currentUri which does not seem like the best choice if a value for RedirectAfterLogin is available.

I was expecting the browser to be redirected to RedirectAfterLogin post authentication but I actually saw an endless loop of authentications because it was redirecting to currentUri.