Owin.Security.AesDataProtectorProvider
Owin.Security.AesDataProtectorProvider copied to clipboard
Data length integrity check failed.
I'm getting an error after upgrading version 1.1.2.
System.Security.SecurityException: Data length integrity check failed at Owin.Security.AesDataProtectorProvider.AesDataProtector.Unprotect(Byte[] protectedData) ... The Zone of the assembly that failed was: MyComputer
The new version runs fine on my local Windows 10 machine. However, the exception gets thrown when it is running on a Windows 2012 R2 server.
The code worked perfectly for me in both places prior to upgrading from 1.1.1 to 1.1.2.