-> I want to use Identity server 4 as a central token generator for some clients.
-> Here my problem is I have implemented Identity server 4 with the help of docs, in the docs the IS4 is using its own database for users to login.
-> Can someone explain the way to connect to my own users database for login and token generation. (I'm using the latest version of IS4 and .net core).
Thanks in advance :)
Note: I have tried all the things from docs -> http://docs.identityserver.io/en/latest/quickstarts/8_aspnet_identity.html
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
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.