How to get access token from one MVC5 application to another MVC5 application

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.

Add Comment
1 Answer(s)

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:

Sharing Authorization Cookies

Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.