Django Channels with Django Tenants and Auth Token #1868
Unanswered
DanieleMilillo13
asked this question in
Help!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm having a problem in Django channels 3 for authentication with a Postgresql database split into multiple schemas (in other words I'm using Django-Tenants), how can I authenticate a user from a specific database schema? during connection on the client I can sand the tenant and auth token in 2 headers like the screenshot
Can someone help me figure out how to create a middleware for this purpose?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions