Category : spring-boot

Access to XMLHttpRequest at ‘http://localhost:8762/api/v1.0/ViewTweetsandComments/Posts/’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. I am using Spring boot and Angular (typescript). Spring security at Zuul gateway. @Override protected void configure(HttpSecurity http) throws Exception { http.csrf().disable().authorizeRequests() .antMatchers("/api/v1.0/AdminServer/**").hasAnyRole("Admin") .antMatchers("/api/v1.0/PostTweetsandComments/**").hasAnyRole("User", "Admin", "staff") .antMatchers("/api/v1.0/ViewTweetsandComments/**").hasAnyRole("User", "Admin", "staff") .antMatchers("/api/v1.0/UserService/**", "/actuator", "/actuator/health").permitAll() ..

Read more

I am deploying an embedded Angular + Springboot app on Docker. (The Angular app is built and is available inside src/main/resources/static). I am able to access the Angular app using http://localhost:80/index.html What I want : When the user hits either of the 2 urls: / or anything other than /mealplanner/, serve index.html I am not ..

Read more

We have developed an spring boot application with saml2 as the security mechanism our Spring boot app acts as SP and Okta and one more Saml provider as IDP. Now we want our Backend Spring boot app to be integrated with front end app which is in angular. Can anybody suggest the process that needs ..

Read more

I am trying to create a web app with stack (Spring boot+angular) for video conference from peer to peer. I find out this GitHub repo (https://github.com/mslosarz/nextrtc-videochat-with-rest) but there is no proper documentation for Nextrtc. Can anyone suggest any good source for a video conference in the stack(Spring boot+angular)? Source: Angular..

Read more