-
-
Save alaawahbah/6cdc049561ae9adcc25d624594942fb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if you got key not found | |
https://stackoverflow.com/questions/57012001/invalidoperationexception-key-type-not-specified-microsoft-aspnetcore-apiautho | |
For File | |
"IdentityServer": { | |
"Key": { | |
"Type": "File", | |
"FilePath": "C:\cert.pfx", | |
"Password": "password123" | |
} | |
} | |
For Development (don't use in production obviously) | |
"IdentityServer": { | |
"Key": { | |
"Type": "Development" | |
} | |
} | |
For Store | |
"IdentityServer": { | |
"Key": { | |
"Type": "Store", | |
"StoreName": "My", | |
"StoreLocation": "CurrentUser", | |
"Name": "CN=MyApplication" | |
} | |
} | |
link |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment