All Questions
Tagged with cors spring-boot
673
questions
0
votes
1
answer
62
views
Spring Boot and React app CORS errors (Hosted on Azure)
Hi to all that can help me.
I've been sitting here for days on end and I can't figure out how to get my Spring Boot and React app working.
The frontend is deployed as an Azure Static Web App and the ...
0
votes
1
answer
36
views
CORS Error on Angular only with Basic Auth
I have an Angular app that makes an httpClient.get() call to an Api.
I developed that api with SpringBoot and it should return a json.
I set @CrossOrigins(*) on each method and when I try to call the ...
0
votes
1
answer
18
views
Springboot Cors configuration works for Get requests but not to Post requests
I am in the following situation, I configured cors. I hosted my app using tomcat10 and the frontend is React. With the development server of Springboot, locally everythin works fine. But when hosted ...
0
votes
0
answers
46
views
how to fix cors policy error in nextjs 14
why this error shows up?
I'm trying to reach my springboot server using axios. api work well in postman. but in nextjs its not work. how to fix this
const nextConfig = {
async headers() {
...
0
votes
2
answers
29
views
How to setup CORS and RequestMatchers to avoid getting 403 forbidden in SpringBoot 3.3
I created a very simple SpringBoot app (pretty much a CRUD) and added JWT auth for users. The requests are all tested with postman and are working fine and interacting with the db without in cloud ...
0
votes
0
answers
36
views
CORS error when redirecting from server to client using spring Boot 2.7.10 with Spring Security enabled
I have two applications:
Spring boot application as backend server running on http://localhost:8080/server
Javascript client running on http://localhost:9000/app
Client on http://localhost:9000/app ...
0
votes
1
answer
38
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 ...
0
votes
1
answer
34
views
Spring Boot Restful Service and CORS problem
I created a Restful service with Spring Boot and I am sending HTTP requests to this service with Angular. I was getting a CORS error when I sent a request with Angular and I used artificial ...
-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 ...
0
votes
1
answer
71
views
Cors error between spring boot and angular
I'm have tried to connect spring boot run local in vs code with angular in stackblitz,it keeps showing the status pending and later on net::error
springboot: v3.3.1
angular 17
the url for backend is : ...
0
votes
1
answer
51
views
Trouble with Spring Boot Security and Custom Login Page Authentication
Details of the problem:
I'm encountering a CORS error while attempting to authenticate with Spring Boot Security on a custom login page in my application. Specifically, when I submit the login form, I ...
1
vote
1
answer
56
views
CORS Error while connecting my angular application to gateway spring boot
When I am hitting my signup url directly to the service controller its running fine and saving user and giving 200 response, but when same thing I am hitting through gateway, My user is getting saved ...
0
votes
0
answers
17
views
Cors config errors in Spring Boot deployment
I am having some trouble deploying my first Spring Application using Docker on my server. Currently I get CORS errors whenever I try anything using my React frontend. The cors works just fine on local ...
0
votes
0
answers
43
views
CORS policy problem...How can I solve it?
I've created a simple Rest application using Spring. When I try to enter the API using Angular I got this error
Access to XMLHttpRequest at '``http://localhost:9595/api/luoghi/all``' from origin '``...
0
votes
0
answers
41
views
CORS Policy Issue with specific browser
Issue: origin 'http://localhost:8100' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Note: below code working last few years but ...