Private
Public Access
1
0

tested again

This commit is contained in:
2024-11-26 15:32:28 +01:00
parent 752ac42052
commit 2266c486ed
3 changed files with 4 additions and 1 deletions

View File

@@ -481,7 +481,7 @@ REST_FRAMEWORK = {
# 'rest_framework.permissions.DjangoModelPermissions'
],
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication',
#'rest_framework.authentication.BasicAuthentication',
# 'rest_framework.authentication.SessionAuthentication',
# 'rest_framework.authentication.TokenAuthentication',
'oauth2_provider.contrib.rest_framework.OAuth2Authentication',