From 8022992b2601badfe53d6e58aa73268d5e8f1aa4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 21 Jun 2018 21:43:12 +0300 Subject: permit unauthenticated social logins --- .../src/main/java/com/juick/server/configuration/ApiSecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server/src/main/java/com') diff --git a/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java b/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java index 94c1f1a8..f35acdee 100644 --- a/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java +++ b/juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java @@ -63,7 +63,7 @@ public class ApiSecurityConfig extends WebSecurityConfigurerAdapter { http.authorizeRequests() .antMatchers(HttpMethod.OPTIONS).permitAll() .antMatchers("/", "/messages", "/users", "/thread", "/tags", "/tlgmbtwbhk", "/fbwbhk", - "/skypebotendpoint").permitAll() + "/skypebotendpoint", "/_fblogin", "/_vklogin", "_tglogin").permitAll() .anyRequest().hasRole("USER") .and().httpBasic().authenticationEntryPoint(juickAuthenticationEntryPoint()) .and().anonymous() -- cgit v1.2.3