All Questions
621 questions
-1
votes
0
answers
25
views
CORS error - cross-origin resource sharing error wildcard origin not allowed in different browsers when i use my local server [duplicate]
I am writing and testing a full-stack application. My frontend is uploaded to hosting and has the address for example - planner. And my server is on a local computer with a database. For the test, I ...
0
votes
1
answer
100
views
CORS Issue When Using External Service for API Calls in Next.js"
I am encountering an issue with Next.js that I don't quite understand. I have a service file that I want to use to make API calls faster and more structured. However, when I call the API via this ...
0
votes
0
answers
33
views
Access protected resource(Spring Boot) with the help of React (Axios) works fine with postman, getting CORS Error
Workflow is :
User login to the system using username and password
Successful login gives back token, which we use to access restricted resource
We are sending header from Client side to server ...
0
votes
0
answers
40
views
Browser not saving a cookie in localhost when authenticating against NodeJS API, even though the cookie is sent
So, I am working on a full stack app, with a backend written in Node with Express. The app is currently on an AWS EC2 instance running using Nginx and pm2, hooked up to the database (also AWS) and ...
0
votes
1
answer
59
views
cors allow origin not matching origin
I have Single Page Application with vuejs framework and I want to an excel file from server but I get "cors allow origin not matching origin". in postman I have no problem and I can download ...
2
votes
1
answer
52
views
Axios Post Request Not Including Credentials Despite them being present
Cookies are not being passed with my axios POST request in react. My frontend uses this code to make a post request
// (localhost:5173)
const response = await axios.post(
`api/addData`,
...
3
votes
1
answer
332
views
Unable to upload directly to S3 from iOS Safari on a cellular network due to CORS issues
I'm stumped with this one issue on iOS Safari where I'm unable to upload files directly to S3 due to a CORS issue. Meanwhile on iOS it works for Chrome, Firefox and Edge. Moreover it works on Safari ...
0
votes
1
answer
66
views
OPTIONS Request made to domain root (/) on ddev nginx throws a 405 - We see access.log but the request is not forwarded to index.php
Edit
Corrected a couple of assumptions with more testing (and altered title to reflect). The issue seems to be specific to the nginx config on DDev, with the server not correctly passing "OPTIONS ...
1
vote
0
answers
313
views
CORS issue error on Ruby on Rails with Coolify and Caddy as Proxy
I have hosted React Frontend app as a client on Coolify and hosted a Rails Backend api app as a server with PostgresSQL and Redis on Coolify as well. It's working fine locally but not working on ...
1
vote
0
answers
102
views
CORS preflight issue in HTTPS env. "cross-origin resource sharing error: preflight wildcard origin not allowed" when using withCredentials
Im experiencing a CORS issue after deploying my application to an HTTPS environment. The error is:
cross-origin resource sharing error preflight wildcard origin not allowed
In my local environment, ...
-1
votes
1
answer
226
views
Flask CORS Issue: "No 'Access-Control-Allow-Origin' header is present on the requested resource"
I'm working on a web application where the frontend is built with React (running on http://localhost:3000) and the backend is built using Flask (running on http://localhost:5000). I'm trying to enable ...
0
votes
2
answers
114
views
Error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
I'm trying to use the Grafana API to create an Organization but when perform the request with axios from the Vue componenet got the following error:
Cross-Origin Request Blocked: The Same Origin ...
-2
votes
1
answer
410
views
Cors Issue in VUE JS 3 on API call from Localhost to Third Party API
I have been facing CORS issue form many days. I have applied all the solutions that are available in Stack Overflow, but nothing helpful for me. Can anyone tell me what is going wrong with my code? I ...
0
votes
0
answers
38
views
Session ID Returns None After Setting Session Data in Django with React Frontend
I'm working on a Django backend with a React frontend and using sessions to manage user authentication. After successfully logging in a user, I'm setting session data (e.g., user_id, name, email, etc.)...
2
votes
1
answer
5k
views
Laravel 11: CORS problem even after config/cors.php file setup
Working on a Laravel/React vite project and I'm facing CORS issue, by looking to the laravel docs, it says generating a simple cors.php in the config dir will resolve the issue, but I sill face the ...