Sustainsys / Saml2

Saml2 Authentication services for ASP.NET
Other
940 stars 606 forks source link

SignInAsync getting me in loop, any reason why #1439

Closed hans9025 closed 4 months ago

hans9025 commented 4 months ago

following is my code

image

AndersAbel commented 4 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 4 months ago

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