mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 16:19:16 +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
|
@ -377,6 +377,7 @@ REST_FRAMEWORK = {
|
|||
),
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'funkwhale_api.common.authentication.JSONWebTokenAuthenticationQS',
|
||||
'funkwhale_api.common.authentication.BearerTokenHeaderAuth',
|
||||
'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'rest_framework.authentication.BasicAuthentication',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue