I did this in the past by setting up https://github.com/jazzband/django-oauth-toolkit as an authentication server at login.my-domain.com and then connecting the other websites with https://github.com/python-social-auth/social-app-django to it
On Thu, 26 Aug 2021 at 10:15, Steven Mapes <st...@jigsawtech.co.uk> wrote: > You could use oauth between the projects. Look into > https://django-oauth-toolkit.readthedocs.io/en/latest/ which would enable > you to set up domain one as your authentication backend which the others > could use > > On Thursday, 26 August 2021 at 09:46:11 UTC+1 Isaac wrote: > >> Am trying to understand what you said sir but am still confuse, how will >> the domain2.com recognize that this person is a user ? Also how will the >> database schema look like ? Will the two database be connected in a way ? >> >> On Thursday, 26 August 2021 at 09:29:47 UTC+1 eugenet...@gmail.com wrote: >> >>> My suggestion is that you can create a single entry where after login >>> the system redirects users to the home page containing all these domains as >>> icons and then the user selects the one he wants. >>> >>> On Thu, 26 Aug 2021 at 10:18, Isaac <isaac.im...@gmail.com> wrote: >>> >>>> Am working on a company website and there will be having more websites >>>> as time goes on, they don't want to be creating authentication system in >>>> each of their website. To avoid stress in creating multi account on these >>>> platform, there is a need to have one website that will do everything >>>> relating to authentication and authorization, just Google is. >>>> For example we will have domain1.com which will handle everything >>>> relating to authentication and authorization(Signup,Signin,Password reset, >>>> Password change, Logout) while other domains like domain2.com, >>>> domain3.com, domain5.com etc will be falling back to domain1.com for >>>> authenticating users. Plz any suggesting on how i can do this will be >>>> highly appreciated. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to django-users...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/efe93e26-23cb-4557-a763-1c2790bf541bn%40googlegroups.com >>>> <https://groups.google.com/d/msgid/django-users/efe93e26-23cb-4557-a763-1c2790bf541bn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> *TUYIZERE Eugene* >>> >>> >>> >>> *Msc Degree in Mathematical Science* >>> >>> *African Institute for Mathematical Sciences (AIMS Cameroon)Crystal >>> Garden-Lime, Cameroon* >>> >>> Bsc in Computer Science >>> >>> *UR-Nyagatare Campus* >>> >>> Email: eugene....@aims-cameroon.org >>> eugenet...@gmail.com >>> >>> Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38 >>> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/29ad46bc-86ce-45bc-a83a-441fe2208e6an%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/29ad46bc-86ce-45bc-a83a-441fe2208e6an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Best Regards, Christian Ledermann Galway, IE Mobile : +353 (0) 899748838 https://www.linkedin.com/in/christianledermann https://github.com/cleder/ <*)))>{ If you save the living environment, the biodiversity that we have left, you will also automatically save the physical environment, too. But If you only save the physical environment, you will ultimately lose both. 1) Don’t drive species to extinction 2) Don’t destroy a habitat that species rely on. 3) Don’t change the climate in ways that will result in the above. }<(((*> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABCjzWqP3G4kqpzR0sPDcX3ROBrXqSTz85WyhNT%3DzKhVgkVz8Q%40mail.gmail.com.