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,768 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,499 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AgaveJoe 28,026 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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.