The antiforgery token could not be decrypted
问题 I have an identity server asp net core project deployed in Azure, i also have two asp net 5 mvc client using my identity server as SSO, and continuously i am getting(save in logs) an exception The antiforgery token could not be decrypted . 回答1: We had similar issue today, We were able to resolve by persisting data protection keys to file system . services.AddDataProtection() .PersistKeysToFileSystem(new DirectoryInfo(@"\\UNC-PATH")); 回答2: We had the same error message Antiforgery token