Django CORS issue

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://url/. (Reason: header ‘authorization’ is not allowed according to header ‘Access-Control-Allow-Headers’ from CORS preflight response).

The api is made using djangorestframework and i have configured corsheader in the settings.py,error pop up when im trying to put authorization in headers in the fetch request

Back to Top