Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need to use centralized authentication (django.contrib.auth) #656

Open
anitstack opened this issue Sep 8, 2020 · 2 comments
Open

need to use centralized authentication (django.contrib.auth) #656

anitstack opened this issue Sep 8, 2020 · 2 comments

Comments

@anitstack
Copy link

anitstack commented Sep 8, 2020

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.

@pktiuk
Copy link

pktiuk commented Nov 16, 2021

I have a very similar problem.

@pktiuk
Copy link

pktiuk commented Nov 19, 2021

This approach requires storing user data in shared app.
This issue may be linked with #346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants