How to implement a synchronous authentication for 2 servers with Django?
There are several servers with applications in Django. One is used as the main, there are all users. They are connected to the group. Each group has a "backend" server. Users from the main server if you change any data, synchronized with the backend of their group. On the backend server for various actions you need to check parmesani user.
Actually, the question is: how to organize simultaneous user authentication on the home server and on the backend, so that when the requests from a browser there, and there to know the current user?
Or ideas how else to implement?