Sustainsys / Saml2

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

SignInAsync getting me in loop, any reason why #1439

Closed hans9025 closed 9 months ago

hans9025 commented 9 months ago

following is my code

image

AndersAbel commented 9 months ago

The OnSignedIn event is called by the cookie handler as part of SignInAsync processing. This code will create an endless loop and whatever you are trying to achieve this is not the right way.

AndersAbel commented 9 months ago

Closing as this is not at all related to the Saml2 library but to general Asp.Net Core Authentication.