diff --git a/java_api/park-my-car/src/main/java/com/project/parkmycar/config/WebSecurityConfig.java b/java_api/park-my-car/src/main/java/com/project/parkmycar/config/WebSecurityConfig.java index 889b841..b5d2fbd 100644 --- a/java_api/park-my-car/src/main/java/com/project/parkmycar/config/WebSecurityConfig.java +++ b/java_api/park-my-car/src/main/java/com/project/parkmycar/config/WebSecurityConfig.java @@ -20,7 +20,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { protected void configure(HttpSecurity http) throws Exception { http .authorizeRequests() - .antMatchers("/", "/api/users", "/api/register", "/api/login", "/api/getAllGarages","/api/dashboard").permitAll() + .antMatchers("/", "/api/users", "/api/register", "/api/googlelogin","/api/login", "/api/getAllGarages","/api/dashboard").permitAll() .anyRequest().authenticated() .and() .formLogin()