I have the same asp.net core 2 application running on two different servers but using the same database to store users, etc.
The problem is that if I create and set a user password on one server, another server that runs the same application returns an incorrect password and vice versa.
I had this problem a few years ago with an asp.net 4 application, and I fixed it by installing the same machine key for both applications.
I heard about api data protection, but I canβt find where to just say that I use the same encryption key, instead I find complex examples that confuse me, and all I need to do is make both servers understand each other in encryption.
user3900456
source share