mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:59:17 +02:00
Now support Bearer auth in complement of JWT
This commit is contained in:
parent
2477aa31f9
commit
d2c2fb837e
3 changed files with 38 additions and 3 deletions
|
@ -29,9 +29,6 @@ class TokenHeaderAuth(BaseJSONWebTokenAuthentication):
|
|||
|
||||
|
||||
class TokenAuthMiddleware:
|
||||
"""
|
||||
Custom middleware (insecure) that takes user IDs from the query string.
|
||||
"""
|
||||
|
||||
def __init__(self, inner):
|
||||
# Store the ASGI application we were passed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue