Sharing Authentication Cookies in ASP.NET Upgrade Scenarios Migrating ASP.NET to ASP.NETCore

Darshan S 0 Reputation points
2024-07-25T11:34:43.9+00:00

I have web application in .net framework 4.7.2.

Now I am upgrading it to .net core 6.

I want to share user authentication from old app to new .net core 6 app.

But I am not able to access claims data in new .net core 6 upgraded application using system.web.adaptor.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,650 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,404 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AgaveJoe 27,696 Reputation points
    2024-07-25T13:09:04.5166667+00:00

    The official documentation covers how to share authentication cookies. Maybe the docs have what you're looking for.

    https://learn.microsoft.com/en-us/aspnet/core/security/cookie-sharing?view=aspnetcore-8.0

    0 comments No comments