We are implementing Identity Server 4 with our .NET Core web application.
I went through the Identity Server documentation. When setting up the Identity server (using DI), there is a line:
.AddTemporarySigningCredential
I am trying to understand what signature credentials are, but could not understand. Therefore, I do not know if it is normal to use the built-in temporary, or if I have to provide another.
My question is: what are the credentials for signing and how to use it?
In the Identity server documentation, this definition:
Adds a signature key service that provides the specified key material for various token creation / verification services. You can go either to X509Certificate2, SigningCredential or the certificate link from the certificate store.
So it seems important :)