How can I defer setting IdentityServers's SigningCredential #184
-
Hi I am on IdentityServer 7.1.1 (.net8) Any help/working sample code would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you want to defer loading, you can implement |
Beta Was this translation helpful? Give feedback.
-
Perfect, thanks @AndersAbel ! |
Beta Was this translation helpful? Give feedback.
AddSigningCredential(cert)
ends up in two calls to add services to DI:If you want to defer loading, you can implement
ISigningCredentialStore
andIValidationKeysStore
in your own classes and register those as singletons.