I have two different domains say,abc.com and xyz.com both sites are using django framework and its authentication system , and I want to create a user with same password as in xyz.com so that the user can login using same credentials of abc.com.
One alternative is to create the user with same hashed password as in xyz.com but the two domains runs on different versions of django(I have tested the approach in django versions 1.6.3 and 1.7.2).I have following questions:
- What are the consequences(future problems) of using the above approach?
- Is there any other better alternative/approaches to create centralized authentication system if user database is not centralized.
Also I do not want to add custom password field, or store in user's sessions or manage password from my end.