oauth2 start
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K 2024-01-12 15:46:58 +01:00
parent 59c63f28de
commit 4c57eecdbc

View File

@ -41,9 +41,7 @@ CORS_ALLOW_ALL_ORIGINS = True
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
],
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated',