The antiforgery token could not be decrypted #23447
Unanswered
Raja-Ashutosh
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An exception was thrown while deserializing the token.","@i":"348bf365","@l":"Error","@x":"Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.\n ---> System.Security.Cryptography.CryptographicException: The key {cbdd3d3a-d46f-41ef-a3f0-0769897f05a0} was not found in the key ring.\n at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)\n at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)\n at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)\n at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)\n --- End of inner exception stack trace ---\n at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)\n at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)","EventId":{"Id":7,"Name":"TokenDeserializeException"},"SourceContext":"Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery","ActionId":"0d83ed17-52ad-4323-868a-447eb6009944","ActionName":"/User/Index","RequestId":"0HM0R7OA800A0:00000002","RequestPath":"/user/index","SpanId":"|d92737fd-4192233384306b70.","TraceId":"d92737fd-
Beta Was this translation helpful? Give feedback.
All reactions