Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
280 views

Unable to control Cross origin request even after specifying Access-Control-Allow-Origin header inside filter of Springboot application

I added the following filter code to my project - package com.package; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; ...
Sandeepan Nath's user avatar
0 votes
0 answers
1k views

Cross Origin whitelisted IP is not applying even after defining using @CrossOrigin annotation on Springboot project

I followed https://spring.io/guides/gs/rest-service-cors/ and added a random IP like this, to one of my API end points - @Produces(MediaType.APPLICATION_JSON) @CrossOrigin(origins = "116.206.111....
Sandeepan Nath's user avatar
-2 votes
1 answer
2k views

No 'Access-Control-Allow-Origin' header Vue/Spring boot

I can't seem to figure out this error "No 'Access-Control-Allow-Origin' header". I have a Vue frontend running on localhost:8080 and spring backend generating JWT tokens on locahost:8082 While ...
Tevor's user avatar
  • 316