Connecting local users database with Identity Server 4

故事扮演 提交于 2019-12-02 12:09:44

The AccountController is a starting point for you to adapt to suit your own requirements.

This template uses ASP.NET Core Identity for user management.

Your choices are

  • Migrate your users to use the Identity's table structure
  • Provide a custom storage provider to ASP.Net Identity that uses your existing user tables (Custom Storage Provider)
  • Implement your own user management\storage service and change AccountController to use it

If you have a custom database you want to connect to, you can implement the IProfileService. IdentityServer4 uses an instance of that interface to collect user details. Docs: click

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!