From 4c760d853b3e0388d0c4cc2a6eb196b39d23e752 Mon Sep 17 00:00:00 2001 From: Vanessa Pinto Date: Wed, 24 Apr 2019 22:32:41 -0400 Subject: [PATCH] #95 updated security config --- .../java/com/project/parkmycar/config/WebSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()