I have an application based on DNN (a bunch of DNN modules) and would like to gradually migrate this app to plain ASP.NET Core. (getting away from DNN) I'm only depending on DNN user management and navigation, all the rest is basically plain ASP.NET Web Forms. (or better: Web User Controls in DNN)
The plan is to create a brand new app (different sub-domain) and first migrate my user management to .NET Core Identity. Users would login via the new app and will need to switch between the Core App and DNN during the migration period. I want to use the new identity based mechanism and would have to keep users in sync with the DNN Membership based tables until I can deprecate the last DNN module.
From: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity It seems identity creates its own cookie that is totally different from DNN. Does anyone know of a way to create a shared cookie that would allow users to move from the old to the new app without having to login twice? Or is there a better way to realize this functionality?
UPDATE: Doing more research and at this point it seems to make more sense to split this project up in 2 phases: 1. Start the new App using MVC 5 (for stability) 2. Migrate the MVC 5 App to .NET Core after a while
The question still remains for MVC 5 using OWIN authentication in this case. Would it be possible to create a shared auth cookie between MVC and DNN?