IdentityServer4 - User creation

Viewed 3548

I'm currently creating a web and mobile application using ionic2+ and .net core backend. After implementing a quick start from identityserver4 docs including identity + Entity framework i realized that i don't have a way to create users from the mobile app.

My solution is composed of the following projects:

  • Project.Api
  • Project.Web
  • Project.IdentityServer

The 3rd one implements identity and from the web I can redirect to identityServer for login and registration. In the api I have configured the authority to the identityserver project and if I get a token from the identityserver and append it to the authorization header of my http request I'm perfectly able to access protected endpoints. But I have to create the users directly in the database.

There is a way to register the users directly in the identityServer project?

2 Answers
Related