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?
June 10th 19 at 15:52
1 answer
June 10th 19 at 15:54
You can for example use a multidatabase configuration and send all requests to User, Group and Session in the database main site.
Thank you. The idea is good! - kaleigh_Jacobson14 commented on June 10th 19 at 15:57

Find more questions by tags DjangoPython