aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-21 21:43:12 +0300
committerGravatar Vitaly Takmazov2018-06-21 21:43:12 +0300
commit8022992b2601badfe53d6e58aa73268d5e8f1aa4 (patch)
tree628723f9103a7f448fe92b3d96e476d60d4ddbea /juick-server/src/main/java/com/juick
parent85ff16fe77a45af9baac7581c2757b1ee59767d6 (diff)
permit unauthenticated social logins
Diffstat (limited to 'juick-server/src/main/java/com/juick')
-rw-r--r--juick-server/src/main/java/com/juick/server/configuration/ApiSecurityConfig.java2
1 files changed, 1 insertions, 1 deletions
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 94c1f1a8c..f35acdee5 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()