Closed robertellisuk closed 1 year ago
In memory clients are simply an IEnumerable<Client>
that is registered in DI as a singleton. Your code can resolve that collection from DI to get the clients.
Moving to Auth0 instead of IS. Thank you for your response Joseph.
I would like to know how to enumerate In Memory configuration elements in version 6 of IS.
I have found this published code example (which I think might do exactly what I want, which is to help me update my EF database config using my In Memory config as a source) but I speculate this only works in an earlier version of IS, because as far as I can see, the InMemoryConfig object does not exist in version 6?
How could I modify this code to work in Identity Server 6? I'm not asking anybody to do the work for me - just some pointers as to where I should be looking in the current version of the source code would be useful.
Which version of Duende IdentityServer are you using? 6
Which version of .NET are you using? .NET 6
Describe the bug
Severity Code Description Project File Line Suppression State Error CS0103 The name 'InMemoryConfig' does not exist in the current context IdentityServer C:\Users\re-git\Repos\VerbalReasoning2\Soln\Back\IdSvr\src\IdentityServer\MigrationManager.cs 22 Active
Presumably because InMemoryConfig has been deprecated?