Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get forbidden from admin site #168

Open
niennguyen84 opened this issue Aug 17, 2023 · 1 comment
Open

Get forbidden from admin site #168

niennguyen84 opened this issue Aug 17, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@niennguyen84
Copy link

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 niennguyen84 added the question Further information is requested label Aug 17, 2023
@niennguyen84
Copy link
Author

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.b__20_0(SerializedKey x) in /
/src/IdentityServer/Services/Default/KeyManagement/KeyManager.cs:line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants