Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

The CORS policy on firebase storage is blocking any upload from flutter web app even though it has been set

I have set the CORS configuration on my firebase storage bucket like this : [ { "origin": ["https://arptc-connect.web.app", "*"], "method": [&...
Armando Sudi's user avatar
-1 votes
0 answers
23 views

security policy limitation of Apps Script

I'm working on a setup where the REAL PROJECT Google Sheet calls an HTML form that's hosted in a separate ADMIN PROJECT via a Web App URL (e.g. https://script.google.com/macros/s/AKfyc.../exec?func=...
Manos Whitmore's user avatar
-3 votes
0 answers
42 views

Authorization for NextJS Application

I want to integrate authentication and authorization into my application. For now the project structure is like this - ├── .next ├── node_modules ├── public ├── src │ ├── Components │ │ └── ...
Titas Saha's user avatar
0 votes
0 answers
23 views

React Js in Laravel 11 in the ngnix server

I created React js and run the code in the Laravel Interia When I call link, it shows error like "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource" ...
Mukhila Asokan's user avatar
0 votes
0 answers
39 views

How to fix Error with include Credentials in CORS

This is the error I am facing, only with add to cart and add fav API not with login or register, it was working fine until yesterday evening, I don't know what happened. Access to XMLHttpRequest at '...
Surani Faizan's user avatar
0 votes
1 answer
75 views

Angular Frontend is not reaching the backend [closed]

In Visual Studio I create a project Angular and ASP.NET core. I start the project the first time and it works correct. Then I start a second time (and more) and the frontend is not showing the ...
Frank Mehlhop's user avatar
0 votes
0 answers
33 views

CORS Error between 2 local projects Django and React

I have a Django Project running on this url http://127.0.0.1:8000, with those settings DEBUG = True INSTALLED_APPS = [ ... 'corsheaders', ... ] MIDDLEWARE = [ 'corsheaders....
samuel waknine's user avatar
0 votes
2 answers
77 views

How to properly allow multiple origins for a cross-origin (CORS) request?

The PHP code below allows only the URL http://example1.com to have access to the application. How can I allow access only to the four URLs below in PHP? http://example1.com http://example2.com http:/...
Nancy Moore's user avatar
  • 2,480
0 votes
1 answer
39 views

getting CORS error after changing RDS instance

Using terraform, I have changed the AWS RDS instance from db.t3.medium to db.t3.small. After the change, I keep getting CORS issue from the browser, but the requests are successful from Postman. I ...
Tanvir Riyad's user avatar
0 votes
0 answers
30 views

Website getting errors when connecting to API

First the basics... when accessing the API on my machine (and others) via Postman - the API works fine... when building the website locally and running on IIS Express, it accesses the API fine... ...
Musical Coder's user avatar
2 votes
2 answers
76 views

Cross Origin error when correct domain is listed in the origin list

This is the error I am currently facing. Access to fetch at 'https://sample.company.com/api' from origin 'https://www.company.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' ...
karvai's user avatar
  • 1,807
0 votes
0 answers
53 views

Google Apps Script Web App POST request works on desktop but blocked by CORS on mobile Chrome

I'm using a Google Apps Script Web App to receive data from a custom HTML form hosted externally. Here's the code I'm using in my Code.gs: function doGet() { return HtmlService.createHtmlOutput(&...
Linus Lüdecke's user avatar
0 votes
1 answer
28 views

CORS Error in Safari: No Access-Control-Allow-Origin Header on Response

I am facing an issue where my backend API is returning a CORS error in Safari but works fine in Chrome and Postman. The specific error in Safari is: Access to XMLHttpRequest at 'https://backendServer/...
davion williams's user avatar
0 votes
1 answer
28 views

React APP error with CORS and fetch from an Rest API

I am working on an assignment and have gotten this CORS issue when trying to post to the API. I have been trying to fix the cors error server.js: const corsOptions = { origin: process.env....
brandon morales's user avatar
1 vote
0 answers
19 views

WSO2 API Manager 4.1.0 from VM - Failed to fetch. Possible Reasons: CORS Network Failure URL scheme must be "http" or "https" for CORS request issue

I am getting this error when i was trying to access it from VM (we have deployed api manager as a container), in local system it is working fine. Getting below error in devportal: https://localhost:...
Prasad A's user avatar
0 votes
0 answers
52 views

CORS issue in Next.js 15 after deployment, not working on localhost either

I'm building an app with Next.js 15, and I’ve run into a CORS problem when trying to call my API routes, both on localhost and after deploying it. I’m getting CORS errors in the browser, even though I’...
JGarnie's user avatar
  • 612
-1 votes
1 answer
79 views

CORS error when calling endpoint from my Angular SPA

I have a Spring boot microservice application using Spring Cloud Gateway for exposing microservices to frontend. When I try to call them from my Angular 19 SPA I get a CORS error despite having ...
ousmane MBINTE's user avatar
-1 votes
0 answers
25 views

CORS header missing on my local Apache server [duplicate]

I have an API that I can call just fine in Postman. It's a POST method with Basic auth (username/password). I need to call it from a browser, so I wrote a simple HTML with JavaScript code: <script&...
Vincent L's user avatar
  • 737
-2 votes
0 answers
66 views

Making a HTTP request from a static web page - blocked by CORS policy

I simply want to make a GET request to jsonbin.io from a static web page. I have used postman to successfully make the request but when I attempt the HTTP request on my web page I keep getting the ...
MJ_Wales's user avatar
  • 899
0 votes
0 answers
34 views

How do I setup a URL re-write in IIS 10 to pull a file from a CDN to avoid CORS issues?

My team has a need to pull an SVG sprite file from a CDN and deliver it as part of our application front-end, which includes a mix of ASP.NET, React and Angular modules. When attempting to pull the ...
Jofus's user avatar
  • 1
-1 votes
0 answers
24 views

Node Express redirect from server back to client results in CORS

I have a client React app running on port 3000. I have a node express app running on port 5000. When hitting localhost:5000/logout I want to do a redirect using Express to okta's logout url. Any ...
user3146945's user avatar
0 votes
0 answers
27 views

Is there anyway to create CSS rules in a local page in Chrome? [duplicate]

I'm using this code to add CSS rules into the page. It worked wonderfully when the page was requested from my webserver. However when the page is local - ie on my C: drive - it throws a "Cannot ...
Richard's user avatar
  • 5,103
0 votes
0 answers
29 views

CSRF token cookie not being set when calling Express API from Next.js server action (using csrf-csrf)

I'm developing an app with an Express backend protected by CSRF using the csrf-csrf package (Double Submit Cookie Pattern) and a Next.js frontend (using App Router and server actions). My refresh ...
Galavu's user avatar
  • 21
2 votes
0 answers
35 views

Getting XMLHTTPrequest CORS error in python

I'm building a sample app in Flutter calling Python backend. Whenever flutter call the backend URL, I receive XMLHTTPRequest error. I'll be grateful if someone can help. My flutter code is as follow: ...
Abdullah Attiq's user avatar
0 votes
1 answer
20 views

keycloak-jakarta-servlet-filter-adapter not setting CORS on failed authentication response

My Jakarta web application is using keycloak-jakarta-servlet-filter-adapter to handle authentication from Keycloak. When the user is authenticated and has the required audience, CORS headers are well ...
Calcimicium's user avatar
0 votes
0 answers
40 views

Unable to make authentication work with OIDC and local identity server

My goal is to host both Identity provider (IdP) and MyApp as subdomains on same server. I have a local OpenIddict server hosted on login.mywebsite.com. I have a Blazor web app (Interactivity Auto) ...
Goran's user avatar
  • 6,538
0 votes
1 answer
29 views

How to use CORS to disable X-Frame options, ASP.NET Core MVC

I have an ASP.NET Core MVC app that has an Information Request form I want to use. I want to access this form from an external site, which is hosted by a 3rd party vendor. I am accessing the page ...
GroupPlay's user avatar
0 votes
1 answer
35 views

Flutter Web CORS issue with self-hosted Parse Server behind Nginx (dashboard works partially)

I'm hosting a Parse Server on a VPS with HTTPS using Nginx as a reverse proxy. Current Setup Parse Server running with a custom index.js or directly using pm2 (i've tried both) Nginx handles SSL and ...
amirre's user avatar
  • 31
0 votes
1 answer
70 views

CORS strict-origin-when-cross-origin

I seem to be running into some issues with my CORS configurations. I am using Keycloak for my authentication. All of my endpoints are redirected to a login page, with an error 302 (Found). When I ...
Hristo Ganchev's user avatar
0 votes
1 answer
52 views

CORS issue when 303 even with Access-Control-Allow-Origin header

On locahost I'm running : An express server on port 3090 A vite react SPA front on port 4000 I have configured cors policy on my express server like this : const app = express(); app.use(cors({ ...
EdPauw's user avatar
  • 33
0 votes
0 answers
47 views

How to enable CORS for font files in Laravel 10 when .htaccess changes have no effect?

in my laravel project .htaccess is not working , if i made any changes it doesn't affect my project, can i know how to check if my .htaccess is working, <IfModule mod_headers.c> <...
Vasu's user avatar
  • 1
0 votes
1 answer
96 views

Laravel 12, Spatie and Filament media library, CORS problems

Whenever I try to upload and save product photos to the edit panel of the Spatie media library by Filament, they remain loading endlessly. Going to inspect the page, the error that comes up is: Cross-...
Stefano Dilda's user avatar
0 votes
0 answers
60 views

CORS headers not being added in django

Preface, I am aware of django-cors-headers not work I am getting the following error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ... (Reason: CORS ...
Joshua Singla's user avatar
0 votes
0 answers
13 views

Laravel 10 project public assets font-awesome.min.css cors issue

I have a host Laravel project where I store all my frontend libraries (like Bootstrap, Font Awesome, Toastr, etc.) in the public/static_assets directory: public/static_assets/css public/static_assets/...
Vasu's user avatar
  • 1
0 votes
0 answers
91 views

ASP.NET Core 9 Minimal API : CORS errors even after configuration added

I created an ASP.NET Core 9 Minimal API that is consumed by an Angular app. Both applications are on a IIS site and the Angular app is calling the backend with http://localhost/api/.... Both are on ...
Ayrton Albuquerque's user avatar
1 vote
0 answers
45 views

Allow Cross Origin in Laravel 4.2

I am working on a legacy project which uses Laravel 4.2 for the backend API and angular for the frontend. When I make the login request in local pc I am seeing CORS error in developer tool network tab....
Ish's user avatar
  • 27
1 vote
0 answers
36 views

Cross-origin resource sharing error wildcard origin not allowed when i use auth request to my server ngrok

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 ...
SolarMan's user avatar
0 votes
0 answers
41 views

Spring Security CORS Issue: "Credentials flag is true, but Access-Control-Allow-Credentials is not 'true'"

I'm working on an OAuth2 login flow using Spring Security (Kotlin, Spring Boot 3), and I'm running into a CORS issue when handling the redirect back to the frontend after successful authentication. ...
ryan david's user avatar
0 votes
0 answers
46 views

CORS Issues with GTM Server-Side Container on Cloud Run – Help Needed

I’m experiencing persistent CORS issues when trying to send events from my web container (GTM Web) to my GTM Server-Side container deployed on Cloud Run. Despite my best efforts and various tests, I ...
Carlotta Zanotto's user avatar
0 votes
0 answers
55 views

CORS error when accessing back-end from external address

I am hosting a Next.js front-end and a Spring Boot back-end in Docker on the same server. The front-end runs on port 3001, and the back-end runs on port 8080. Server IP (external address): 192.168.100....
AlexMoshi's user avatar
  • 339
-1 votes
0 answers
26 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 ...
SolarMan's user avatar
-4 votes
3 answers
136 views

Sending request from React to FastAPI causes a CORS policy error [closed]

When I send a fetch request from the frontend server (React) to the backend server (FastAPI), an error occurs: localhost/:1 Access to fetch at 'http://localhost:8000/predict/' from origin 'http://...
dixhom's user avatar
  • 3,053
1 vote
1 answer
52 views

CORS issue with cookies in Angular when authenticating with Woocommerce(WordPress) JWT API

I have a WooCommerce (WordPress) setup on Hostinger, and I'm using it in a Headless setup with an Angular frontend. However, I am facing CORS issues when trying to make API requests from Angular to ...
Mohamed Sabry's user avatar
1 vote
1 answer
60 views

Invalid CORS request in Spring boot microservices

I have a problem with configuring CORS in a microservices architecture application using Spring Boot. My application consists of the following components: • Frontend: Application written in Angular •...
Wierzba's user avatar
  • 11
-1 votes
1 answer
56 views

Make `POST` from blogspot iframe to `doPost` from 'Apps Script'

I created an iframe in the custom HTML of 'blogspot'. In the src of the iframe there is the link to 'Apps Script' (https://script.google.com/macros/s/.../exec). In the .gs of 'Apps Script', there is ...
John Simon's user avatar
2 votes
2 answers
157 views

CORS Issue with CloudFront + S3

I’m using Next.js (front-end) at https://toscanini.me and serving images from https://images.toscanini.me via Amazon S3 + CloudFront. Despite having set up CORS, my browser still reports a CORS error ...
Santiago Toscanini's user avatar
1 vote
1 answer
177 views

Springboot Backend receives jwt from Angular Fetch request, but not HttpClient { withCredentials: true }

I am developing a Springboot/Angular application. I am running into an annoying issue where my backend is able to receive and parse credentials (in this case, a jwt) from fetch requests but is not ...
Josef Creations's user avatar
0 votes
1 answer
35 views

Handling CORS origin sites with wildcard in url

Im running a site with google firebase. Our github repo makes a preview deployment when we make a PR. I would like to have those temporary build urls to be approved by cors. Here is what I have in the ...
knightwatch's user avatar
0 votes
1 answer
68 views

Deactivate Cross Site Origin Protection [duplicate]

There are already several questions on this topic, but none have really been answered yet. I really want to disable cross site origin security to access an iframe element and control it via javascript....
UsAA12's user avatar
  • 59
1 vote
3 answers
126 views

CORS Issue Angular & .NET Project

I’m currently working on a project that involves integrating an Angular 19 frontend with an ASP.NET Web Application (.NET Framework) API backend, and I've run into a CORS issue. When I try to make a ...
manel sayari's user avatar

1
2 3 4 5
297