FormsAuthentication icon indicating copy to clipboard operation
FormsAuthentication copied to clipboard

Add FormsAuthenticationTicket encryption

Open CNBoland opened this issue 4 years ago • 4 comments

I use FormsAuthenticationTicket encryption in an ASP.NET WebForms application to create an authentication cookie manually. I recently ported this application to .NET Core and needed FormsAuthenticationTicket encryption to preserve backward compatibility.

CNBoland avatar Mar 06 '21 13:03 CNBoland

Can someone please review this? We have a project that depends on it and we'd like to use the official package. Is there anything we can do to assist?

CNBoland avatar Mar 17 '21 14:03 CNBoland

@CNBoland Did you ever find a solution to this? Need to use FormsAuthenticationTicket also to generate a legacy auth cookie.

GFoley83 avatar Dec 10 '22 08:12 GFoley83

@GFoley83 No. We included a copy of the code from my branch in our solution and referenced it as a project reference. You're welcome to fork my fork.

CNBoland avatar Dec 11 '22 17:12 CNBoland

Thank you but I found: https://github.com/dazinator/AspNetCore.LegacyAuthCookieCompat/

Which did exactly what I needed.

GFoley83 avatar Dec 11 '22 17:12 GFoley83