Tokenized Authentication for subdomains

13 views
Skip to first unread message

André Lewis

unread,
May 24, 2023, 10:06:09 PM5/24/23
to django...@googlegroups.com
Hi,

I'm currently working on a project with subdomains, and I wanted to authenticate the user across the site, regardless of the url. I did some digging and found some ideas for implementing Oauth/openID connect authentication in Django (wasn't much help). Seeing, I don't intend on using third-party providers for this one.

 I have an idea of how it should work 'on paper', but it gets fuzzy when I start thinking about server-end verification; how the token is generated, and how I get access to it for later verification. 

Any suggestions, would be really helpful?
Thanks in advance.

Vishesh Mangla

unread,
May 25, 2023, 1:43:58 AM5/25/23
to django...@googlegroups.com
use nginx as reverse proxy 

--
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/CAJN6x_gEgbE87yg0NpzhS_Rr_BEwWwo7HkWT02JRccfCfWS2Gw%40mail.gmail.com.

Mwamuzi Shadrick

unread,
May 26, 2023, 7:54:45 AM5/26/23
to django...@googlegroups.com

So, you just want to use ngix in your django website?

 

Sendt fra E-post for Windows

Ryan Nowakowski

unread,
May 26, 2023, 12:58:15 PM5/26/23
to django...@googlegroups.com, André Lewis
Do all the subdomains share a common domain? Ex:

sub1.example.com
sub2.example.com
...

Vishesh Mangla

unread,
May 26, 2023, 12:58:51 PM5/26/23
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages