IdentityServer is designed to authenticate existing users, not create new users. In our use case, we have 3 projects that play a role:
- Authentication server
- Secure API
- Supplier Identity Project (aspnet core identity)
Users are created by an API call that creates the appropriate structures in the identity provider. Our authentication server makes calls to the authentication server when checking for token requests. Our API uses an identity server to protect resources and our identity provider to obtain information that we may need regarding this user that are not contained in claims (for example, permissions).
, ( ), Identity Server - . .
EDIT:
@peyman : aspnet (http://odetocode.com/blogs/scott/archive/2013/11/25/asp-net-core-identity.aspx).
IUserStore UserManager. , , , . IUserStore - , IdentityServer , IdentityServer . API Policies (https://docs.microsoft.com/en-us/aspnet/core/security/authorization/claims)