Skip to main content

All Questions

Tagged with
-1 votes
0 answers
46 views

Authorization header filtered out by cors

I'm using Spring Security 6.3.1 and it seems cors is filtering out my authorization header. I made sure that the request from my webapp contains the header but when i try to get it in my ...
HalcyonsGlory's user avatar
0 votes
1 answer
39 views

PUT request works with Postman but not with axios.put for Spring Security oAuth Resource Server backend

I have a vue frontend making requests to a spring boot backend configured as a resource server. I am having trouble configuring the backend in such a way that I can make requests from my frontend. The ...
ylr's user avatar
  • 9
-1 votes
0 answers
38 views

WebSocket connection to 'ws://localhost:9090/ws' failed: Connection closed

I'm working on integrating WebSocket communication between a React frontend and a Spring Boot backend using STOMP. However, I'm encountering issues with the WebSocket connection that results in ...
NewBie's user avatar
  • 5
0 votes
0 answers
56 views

UPS API CORS header problem, ‘Access-Control-Allow-Origin’ missing. Can I do it from user's browser?

Alright, I've read a LOT about this issue now from many StackOverflow posts. But I still have concerns about the solutions. Here's a bit about my project: I have a web app that runs Java server code, ...
Michael K's user avatar
  • 1,028
0 votes
0 answers
14 views

Java flexible app engine random cross origin failures

We have a google cloud app engine java instance and we are connecting to it from a web site via rest API. We have agents in South Africa and America. It seems that sometimes it has intermittent issues ...
Ryan Woolf's user avatar
0 votes
0 answers
40 views

Receiving CORS Error in Browser and 500 Internal Server Error Through API When Website Was Previously Working

I was looking into the network calls made by a website (not mine) to understand how the website works. Each time I would reload the page, I would look at the network calls being made in the developer ...
Camden Schiman's user avatar
0 votes
0 answers
27 views

Angular CORS Filter error consuming java web services (jakarta.ws.rs), I'm stuck... I don't know what else to validate

Here is my web.xml configuration file... <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://...
Carlos Eduardo Rodriguez Lopez's user avatar
0 votes
1 answer
19 views

I can't return(get) the "Authorization" header in the front/ The Authorization field returns undefined - React - Redux -

When logging into my application, the Authorization inside the header returns as undefined enter image description here But, when checking within the developer tools in 'Network' the token is there in ...
Ero Lima's user avatar
0 votes
1 answer
67 views

Global CORS configuration not working - Invalid CORS Request

I have problems implementing CORS in my project. Maybe someone here can help me. Problem: I receive the response "Invalid CORS Request" with my implementation of CORS. What does my ...
gorecode's user avatar
0 votes
1 answer
44 views

Cors configuration?

from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the ...
yasmine cheikh's user avatar
0 votes
0 answers
115 views

CORS error on selected browsers (Mac OS Google Chrome and Safari)

I developed a web application. The backend is written in Java (Spring Boot) and the frontend in React JS that uses JWT Token and stores it as a cookie (Spring Security). The backend is live on a VPS (...
tobieche's user avatar
-1 votes
2 answers
135 views

Spring Boot Cors Configuration. I get 401 on my react app

this is my first time using springboot and I'm facing an issue with the cors configuration. I've tried many things but I always seem to get: Access to fetch at 'http://localhost:52700/greeting-...
Meyer Buaharon's user avatar
-1 votes
1 answer
119 views

How to exclude specific endpoint from CORS config in Spring Boot?

My goal is to exclude specific controller from general CORS configuration to narrow list of allowed addresses to the endpoint. I have CORS configuration like this: CorsConfiguration configuration = ...
andrew17's user avatar
  • 925
0 votes
2 answers
49 views

Cors not allowed to completed the request in Spring MVC

I am using spring MVC and want to send request from React.js but CORS problem. how i can enable it in spring mvc using ApplicationContext.xml? i have added this these lines in applicationcontext.xml ...
Bilal Kundi's user avatar
-2 votes
1 answer
75 views

Cors Authorization preflight error with spring security

I'm having a difficult time getting a React app that I'm running locally talking with a spring boot app that's also running locally. I've setup the following CorsConfiguration within my spring boot ...
JDS's user avatar
  • 1,269

15 30 50 per page
1
2 3 4 5
45