django-tenant-schemas
django-tenant-schemas copied to clipboard
need to use centralized authentication (django.contrib.auth)
Hi, My purpose is to create a multitenant application able to serve several companies. The requirements that I need is to have centralized authentication (django.contrib.auth) in order to have a central login page where after the user has correctly logged in, it will be redirected to the correct subdomain/schema. Each company will manage its own users but I want them to be stored in the public schema because I need to access also remotely using Web services to a centralized and fixed URL. In addition to that, I've to extend the User Model to add additional information. So in my public tenant, I want to have: Company User (django.contrib.auth)
please help me out in this with your suggestion or any documents will be helpful for me.
I have a very similar problem.
This approach requires storing user data in shared app. This issue may be linked with https://github.com/bernardopires/django-tenant-schemas/issues/346