Identityserver4: Is it possible to store "Clients" on database using IDS4?

Created on 28 May 2018  路  7Comments  路  Source: IdentityServer/IdentityServer4

I want to store Clients on database. Can I do that with IDS4?
Thanks in advance

question

All 7 comments

@SIkebe Thanks for the answer. I'm looking for another solution, without EF. Solutions for micro ORMs

Thank you, @brockallen . This page helped me to understand what I want and what can I do for that. And for those in future who will seek "autocreate" (DB table) functionality for micro ORMs. There is no way to do that.
You must...

  1. Create DB Tables ( http://docs.identityserver.io/en/release/topics/clients.html) Find required fields here.
  2. Create "GetClientById" Stored Procedure
  3. Implement IClientStore
  4. And finally in Startup.cs Use AddClientStore instead of AddInMemoryClients

Am I right ?

That could be one way to go about it.

Thanks

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings