We have multitenant identity server application and need to use different signing key for each tenant. So We tried to implement by override these interfaces ISigningCredentialStore and IValidationKeysStore by using DI. But, in my scenario we have more Api calls in client app for all the UI actions so these method hitting frequently for each Api request for validating token. Can we avoid this or any possiblity to reduce the method hitting calls ?
ISigningCredentialStore
IValidationKeysStore
public Task<SigningCredentials> GetSigningCredentialsAsync() { // return key } public Task<IEnumerable<SecurityKeyInfo>> GetValidationKeysAsync() { // return key info }
2.1m questions
2.1m answers
60 comments
56.9k users