diff --git a/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java b/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java index f17e07dcc1250d633ef304f1e7dc94994b9fc69f..8501f3474df1d1defb58d9d0e751435d6e5cff64 100644 --- a/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java +++ b/src/main/java/com/smartharvester/config/SmartHarvesterSecurityConfiguration.java @@ -64,7 +64,7 @@ public class SmartHarvesterSecurityConfiguration extends WebSecurityConfigurerAd @Override protected void configure(HttpSecurity http) throws Exception { - http.csrf().disable().cors().and().authorizeRequests().antMatchers("/oauth2/**", "/login**").permitAll() + http.csrf().disable().cors().and().authorizeRequests().antMatchers("/oauth2/**", "/login**", "/smart-harvester/**", "/harvester/api/catalogs","/resources/**", "/public/error/css/**", "/smart-docs/**").permitAll() .anyRequest().authenticated() .and() .oauth2Login().authorizationEndpoint().authorizationRequestRepository(new InMemoryRequestRepository())