Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
247 views
in Technique[技术] by (71.8m points)

c# - Add signing credentials based on tenant in Identity server 4

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 ?

public Task<SigningCredentials> GetSigningCredentialsAsync()
{
         // return key
}
     
public Task<IEnumerable<SecurityKeyInfo>> GetValidationKeysAsync()
{
         // return key info
}
question from:https://stackoverflow.com/questions/65948935/add-signing-credentials-based-on-tenant-in-identity-server-4

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...