Loading src/main/java/es/redmic/user/config/Oauth2SecurityConfiguration.java +2 −2 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ public class Oauth2SecurityConfiguration { public void configure(HttpSecurity http) throws Exception { // @formatter:off http.anonymous().and().authorizeRequests().antMatchers("/user/actuator/**").permitAll() http.cors().and().anonymous().and().authorizeRequests().antMatchers("/user/actuator/**").permitAll() .antMatchers(HttpMethod.OPTIONS, "/**/").permitAll() .antMatchers(HttpMethod.GET, "/user/profile/").permitAll() .antMatchers(HttpMethod.GET, "/user/modules/openmodules/").permitAll() Loading Loading
src/main/java/es/redmic/user/config/Oauth2SecurityConfiguration.java +2 −2 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ public class Oauth2SecurityConfiguration { public void configure(HttpSecurity http) throws Exception { // @formatter:off http.anonymous().and().authorizeRequests().antMatchers("/user/actuator/**").permitAll() http.cors().and().anonymous().and().authorizeRequests().antMatchers("/user/actuator/**").permitAll() .antMatchers(HttpMethod.OPTIONS, "/**/").permitAll() .antMatchers(HttpMethod.GET, "/user/profile/").permitAll() .antMatchers(HttpMethod.GET, "/user/modules/openmodules/").permitAll() Loading