Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Scopes and Clients from Database instead of InMemoryClients & InMemoryScopes Identity Server 3

I want to read Scopes and Clients from database instead of InMemoryClients & InMemoryScopes in Identity Server 3.

Any one please help me how to read how we can achieve this in identity server 3. Thanks in advance.

like image 704
Naveen Sharma Avatar asked Nov 21 '25 08:11

Naveen Sharma


1 Answers

From the docs (https://identityserver.github.io/Documentation/docsv2/ef/overview.html):

If scope or client data is desired to be loaded from a database (rather than use in-memory configuration), then we provide a Entity Framework based implementations of the IClientStore and IScopeStore services.

If you do not wish to use Entity Framework, you just need to implement these two interfaces yourself.

like image 170
Brock Allen Avatar answered Nov 23 '25 08:11

Brock Allen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!