Saw this reported in devBetter Discord.
2026-07-19T17:07:32.6248652Z Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
2026-07-19T17:07:32.6248686Z ---> System.Security.Cryptography.CryptographicException: An error occurred during a cryptographic operation. Refer to the inner exception for more information.
2026-07-19T17:07:32.6248843Z ---> System.MissingMethodException: Method not found: 'Boolean Microsoft.AspNetCore.Cryptography.CryptoUtil.TimeConstantBuffersAreEqual(Byte[], Int32, Int32, Byte[], Int32, Int32)'.
2026-07-19T17:07:32.6248878Z at Microsoft.AspNetCore.DataProtection.Managed.ManagedAuthenticatedEncryptor.Decrypt(ArraySegment`1 protectedPayload, ArraySegment`1 additionalAuthenticatedData)
2026-07-19T17:07:32.6248901Z --- End of inner exception stack trace ---
2026-07-19T17:07:32.6248929Z at Microsoft.AspNetCore.DataProtection.Managed.ManagedAuthenticatedEncryptor.Decrypt(ArraySegment`1 protectedPayload, ArraySegment`1 additionalAuthenticatedData)
2026-07-19T17:07:32.6248957Z at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
2026-07-19T17:07:32.6248983Z at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
2026-07-19T17:07:32.6249007Z at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
2026-07-19T17:07:32.624903Z --- End of inner exception stack trace ---
2026-07-19T17:07:32.6249055Z at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
2026-07-19T17:07:32.6249085Z at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.DeserializeTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet, AntiforgeryToken& cookieToken, AntiforgeryToken& requestToken)
2026-07-19T17:07:32.6249173Z at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet)
2026-07-19T17:07:32.6249201Z at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext)
2026-07-19T17:07:32.6249228Z at Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.ValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)
2026-07-19T17:07:32.6251364Z [17:07:32 INF] Authorization failed for the request at filter 'Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter'.
2026-07-19T17:07:32.6251428Z [17:07:32 INF] Executing StatusCodeResult, setting HTTP status code 400
Saw this reported in devBetter Discord.
Confirmed with Azure logs from the App Service: