synercoder / FormsAuthentication

Enable ASP.NET Core 2 cookies to read old ASP.NET Forms Authentication cookies
MIT License
74 stars 25 forks source link

Add FormsAuthenticationTicket encryption #23

Open CNBoland opened 3 years ago

CNBoland commented 3 years ago

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 commented 3 years ago

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?

GFoley83 commented 1 year ago

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

CNBoland commented 1 year ago

@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.

GFoley83 commented 1 year ago

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

Which did exactly what I needed.