[Fixed]-Django session working on local server but not on AWS server

1👍

possible solving options:

replace rest framework default authentication with the following snippet code

'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework.authentication.SessionAuthentication',
        'rest_framework.authentication.TokenAuthentication',
    )

add this line in your settings.py file for details click here

WSGIPassAuthorization On
👤Amir

Leave a comment