Closed sai-nagarjuna-t closed 5 years ago
Hi @sai-nagarjuna-t The sample code you provided doesn't register Redis as the operational data store by doing something like:
...
.AddOperationalStore(options =>
{
options.RedisConnectionString = "---redis store connection string---";
options.Db = 1;
})
Are you sure you followed the documentation ?
Hi Ali, My bad, I have figured out to solve the prb. Sry for raising an issue. But I have a question in general - is where a way in IDS 4 for the admin to view all the grants issued for all the users.(if it is possible)
Hi @sai-nagarjuna-t This idea is against the secrecy of grants, I don't think there is a way to show that.
I have configured my clients, resources and identity resources to be in-memory and I have my custom profile service implemented.
After adding the IdentityServer4.Contrib.RedisStore for operational data, I am unable to see any of the issued grants in my grants screen
What I observe is that the GetAllAsync(string subjectId) in PersistedGrantStore.cs is called with a subjectId that is not returning any data from redis.
Please help if I am missing anything to fix this.