405 error
This commit is contained in:
@@ -219,6 +219,7 @@ REST_FRAMEWORK = {
|
||||
'rest_framework.permissions.AllowAny', # Allow unauthenticated access for now
|
||||
],
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
'igny8_core.api.authentication.APIKeyAuthentication', # WordPress API key authentication (check first)
|
||||
'igny8_core.api.authentication.JWTAuthentication', # JWT token authentication
|
||||
'igny8_core.api.authentication.CSRFExemptSessionAuthentication', # Session auth without CSRF for API
|
||||
'rest_framework.authentication.BasicAuthentication', # Enable basic auth as fallback
|
||||
|
||||
Reference in New Issue
Block a user