ASP.NET Identity and IdentityServer connection

2019-04-29 09:18发布

Can somebody explain the connection between Identity and IdentityServer?

There was a recent article that says there will be a new version of IdentityServer (ie IdentityServer 4).

I'm doing a ASP.NET 5 project. I only heard of Identity 3 before and I'm planning to use it.

Can I use Identity 3 in my project without using this IdentityServer?

1条回答
Fickle 薄情
2楼-- · 2019-04-29 10:03

Can somebody explain the connection between Identity and IdentityServer?

There's no direct connection: ASP.NET Identity is a membership provider (i.e a way to manage your users) while IdentityServer is an OAuth2/OpenID Connect server you can use to support token authentication.

That said, IdentityServer4 will eventually support ASP.NET Identity 3 as a membership store.

Can I use Identity 3 in my project without using this IdentityServer?

Sure, you can use ASP.NET Identity without IdentityServer (and vice versa).

查看更多
登录 后发表回答