locked
The antiforgery token could not be decrypted RRS feed

  • Question

  • User-1253150104 posted

    Hello,

    I am facing an issue with .NET Authorization. Application built using ASP.NET Core 3.0 and using Cookie Authentication & authorization. Error in the logs shows Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted. ---u003e System.Security.Cryptography.CryptographicException:
    The key {XXXXXXXXXXXXXXXXXXXXXX} was not found in the key ring. I have used ASP.NET
    Data Protection to store Keys persistently in prostgreSQL database. Deployment environment: 4 cluster
    on Kubernetes on CentOS 7 Operating.

    Looking forward for any help in this regards to resolve the issue.

    Thursday, December 5, 2019 8:59 AM

All replies