Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to share Bearer Tokens between ASP.NET 4.x and ASP.NET 5 applications?

$
0
0

There is a good article on how to share cookies between ASP.NET 4.x and ASP.NET 5 applications (http://docs.asp.net/en/latest/security/data-protection/compatibility/cookie-sharing.html), but is there a similar way to share Bearer Tokens?

For instance, I have a central authentication server that hands out bearer tokens that is written in ASP .NET 4.5.1 with Identity Framework 2.x. My dependent application, written in ASP .NET 5, will get a bearer token from the central authentication server and use that bearer token for calling protected endpoints (using claims) in the dependent application. How can I get the two applications to share the bearer token (i.e. so the dependent application can parse the bearer token)? I already followed the article for sharing cookies between them and that is working well.

Thank you.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>