Hi
I have problem with AspNet Identity token validation in Azure. When my application is scaled to more than one instance they are not able to validate tokens generated by other instance. For example, instance A can't validate token generated by instance B. To test it, I change affinity cookie value. We use custom encrypting/decrypting method used in IDataProtector and IPasswordHasher. We made it custom because I thought that Machine Key related hashing could be the reason. Any idea why it doesnt work on more then one instance?
Before I was trying to use DpapiDataProtectionProvider and then custom implementation based on machine key (MachineKey.Protect and Unprotect method implemented in IDataProtector).
I'm able to authenticate myself on both instances. Right now only tokes are not working as expected...