问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/40738096/getting-scopes-and-clients-from-database-instead-of-inmemoryclients-inmemorysc