Now I'm trying to bring ASP.NET Identity to the lower layers (Models and DAL) and the question has arisen, is it possible to use ASP.NET Identity as a microservice, that is, an external authorization provider?
1 answer
Directly - no, it is impossible. And even lower you will not drag it down. Just because ASP.NET Identity works with such entities as an HTTP request and a web server configuration.
If not directly, then you can do so. Expand IdentityServer separately, configure ASP.NET Identity on it, and connect other applications to IdentityServer via OpenID-Connect.
|