accounts client

This commit is contained in:
Sayyid Hamid Mahdavi 2025-03-13 11:01:08 +03:30
parent fe5fc3fadc
commit fabba7b39d

View file

@ -102,7 +102,7 @@ REGISTER_SCOPE_SCOPE = None
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
# 'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
),
'DEFAULT_PERMISSION_CLASSES': (