Closed audriuiv closed 4 years ago
Looking at this:
/*
In memory have worked perfected.
.AddInMemoryIdentityResources(Config.Ids)
.AddInMemoryApiResources(Config.Apis)
.AddInMemoryClients(Config.Clients)
.AddAspNetIdentity<ApplicationUser>();
*/
you can't remove the in memory stores without using your own or other stores like IdentityServer4.EntityFramework
the exception you are facing is not related to the library, maybe you need to take sometime to understand how identity server works.
Thanks, So I want to use IdentityServer4.Contrib.RedisStore for (AddOperationalStore, AddRedisCaching) but if I use AddInMemoryClients then clients cache will be saved in memory (not in Redis)? And I have to write own my stories?
If you want to use Redis caching then it means you you are using slower store for configuration data, using in memory stores are not recommended for production payloads, but you know better around you case.
For the operational data, the library can help and be an alternative for storage that is already available for relational stores, like SQL/MySQL .. etc
The one that I already pointed at earlier supports storing/reading configuration and operational data using relational store, while this library can help with caching and having faster operational stores.
Hope this would be useful for you.
Thanks a lot.
IdentityServer4 3.0 Startup file
Error:
Without Redis App works perfect.