Base solution for your next web application
Open Closed

Configure identity server 4 clients from database #4865


User avatar
0
bolenton created

I want to configure identity server 4 to implement personal access token.

I am planning to store the identity server's client information (clientID, clienSecret) into the database . So, from client's app user will going to enter the client credentials and in response api will return the access token. Client Id and Client Secrets information will be stored per tenant, so based on the tenant, we must get the client information and in response to it, the access token.

Is there any sample implementation as such to get the clients stored in the database ?

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bolenton,

    We don't have such an implementation sample but in your case you can store ClientId and ClientSecret as tenant settings. So tenants can modify settings on the "Settings" page which you need to develop.