I am trying to get access token from one .net MVC application to another MVC application. My requirement is: I have Two .net MVC projects "A" and "B" under the same solution, where authentication is done under the project "A". I want Project "B" to consume the authentication token from project "A".
Please suggest a suitable approach.
You can share authentication cookies between your apps. I implemented this solution in a portal that was split into multiple projects and subdomains.
ASP.NET Core:
Share authentication cookies among ASP.NET apps
ASP.NET 4.x:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.