Skip to main content

Questions tagged [django-cors-headers]

A Django application that adds CORS (Cross-Origin Resource Sharing) headers to responses.

django-cors-headers
0 votes
0 answers
24 views

CORS Policy Error with Specific Data in React and Django Application

CORS Policy Error with Specific Data in React and Django Application I'm experiencing an issue with CORS policy in my React frontend and Django backend application. The error message I'm receiving is: ...
Mahira's user avatar
  • 1
0 votes
1 answer
30 views

django-angular Access to XMLHttpRequest has been blocked by CORS policy

When trying to commit a POST request to the django server I get the following error: Obj:1 Access to XMLHttpRequest at 'http://localhost:8000/api/' from origin 'http://localhost:4200' has been blocked ...
42WaysToAnswerThat's user avatar
0 votes
0 answers
29 views

Django CORS and CRSF Issues

The Issue I am at my wits end with CORS and CSFR issues. When I fix something I feelk like I am playing wack-a-mole when I fix something another element i not rendering. I am using django-cors-headers ...
Terry Brooks Jr's user avatar
1 vote
0 answers
45 views

iOS Browsers Stripping API GET Headers After 301 Redirect

I have a Django Server on an EC2 container and I use Firebase to authenticate my users. To authenticate the user I use an Authorization header with the Bearer Token on my API and get the Firebase UID ...
Jorge Fernández's user avatar
0 votes
1 answer
53 views

Error CORS header 'Access-Control-Allow-Origin' missing in Django app

Configuring Django restframework CORS Headers My application tries to read a file from an external storage service and receives a response: A request from an outside source is blocked: The Single ...
Max Isaev's user avatar
1 vote
1 answer
76 views

Django + React Axios Network Error: Access-Control-Allow-Credentials expected 'true'

I am working on a web app running React on the front end and Django on the back end and am running into a issue when sending api requests to the back end. When attempting a POST or GET request, there ...
David Brunner's user avatar
0 votes
1 answer
73 views

CORS headers not allowed in Django

I am developing an API in Django and using next js as the frontend. But each time I try to call the back end to the next js fronend I get on the console Access to XMLHttpRequest at 'http://127.0.0.1:...
user5539903's user avatar
-2 votes
1 answer
134 views

Development Environment Django port 8000 to serve React (staticfiles)

I'm trying to setup a development environment for React and Django. https://github.com/axilaris/django-react <-- Here is my project code for reference. You can easily run in with the instructions ...
Axil's user avatar
  • 3,211
0 votes
0 answers
57 views

CORS configurations in Django not working in production

I am working on a chat application with Django at the back-end and React at the front-end. Both are hosted on separate domains on vercel. I have added the CORS configurations in the back-end but they ...
Sourav Singh's user avatar
0 votes
0 answers
18 views

ModuleNotFoundError: No Module name 'corsheaders' on google app engine project but works locally [duplicate]

I'm encountering an issue with CORS middleware not working in my Django application deployed on Google App Engine. Despite following the recommended steps, including installing the django-cors-headers ...
Ethan Lynch's user avatar
1 vote
1 answer
39 views

Error when connecting Angular app with REST-Django service

I have an web application deployed on GKE. Front-end service is Angular 17 app running on Official NginX Docker container Load Balancer with Ingress. Backend is REST-Django service running on Gunicorn ...
Artur_marc's user avatar
0 votes
0 answers
46 views

Making a post request to a Django app on MS Azure from a client that I do not own getting cors error

I have deployed a django app on azure and have been running it for a while. I recently added an endpoint to my app that should get a POST request from the jengahq website. However, I am able to ...
Andrew's user avatar
  • 1
0 votes
1 answer
76 views

Need help addressing cors issue on server

I have a django backend with react frontend. I am trying to deploy my application on cpanel hosting. I have created subdomain for backend (api.example.com/) and main domain (example.com/) is for ...
user22257988's user avatar
0 votes
1 answer
62 views

Access to fetch at 'http://127.0.0.1:8000/api/movie/1' from origin 'http://localhost:3000' has been blocked by CORS policy

Every thing is normal but its not working, I have followed https://pypi.org/project/django-cors-headers/,https://github.com/adamchainz/django-cors-headers these documentation but its not working for ...
Sachin's user avatar
  • 172
0 votes
0 answers
27 views

I am having difficulty to get csrftoken stored in Django session using React

I am having a hard time here, and I'm not sure what I'm doing wrong so far. I am working on CS50W Project 4 with Django and React. Django is handling the registration process for both the front end ...
Mensart Elitedoh's user avatar

15 30 50 per page
1
2 3 4 5
20