Duende.IdentityServer.Admin icon indicating copy to clipboard operation
Duende.IdentityServer.Admin copied to clipboard

Get forbidden from admin site

Open niennguyen84 opened this issue 1 year ago • 1 comments

I deploy app on iis but when i visit admin site it redirect to sts.identity url and get forbidden 403 error.

It works correctly when i host them on iis of dev machine (map sts.identity and admin url to localhost) Thank you very much.

niennguyen84 avatar Aug 17 '23 06:08 niennguyen84

I got the error. 2023-08-22 07:18:07.935 +07:00 [ERR] Error unprotecting key with kid 034069A09E3263416E2200B6B00B9643. System.Security.Cryptography.CryptographicException: The key {2d63d676-8c09-4de6-9f55-2d8f1f43441e} was not found in the key ring. For more information go to http://aka.ms/dataprotectionwarning at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status) at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData) at Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Unprotect(IDataProtector protector, String protectedData) at Duende.IdentityServer.Services.KeyManagement.DataProtectionKeyProtector.Unprotect(SerializedKey key) in //src/IdentityServer/Services/Default/KeyManagement/DataProtectionKeyProtector.cs:line 56 at Duende.IdentityServer.Services.KeyManagement.KeyManager.<GetAllKeysFromStoreAsync>b__20_0(SerializedKey x) in //src/IdentityServer/Services/Default/KeyManagement/KeyManager.cs:line

niennguyen84 avatar Aug 22 '23 00:08 niennguyen84