package io.github.saidie.plantuml_api.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.social.security.SpringSocialConfigurer;

@Configuration
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http.authorizeRequests().antMatchers("/**").permitAll().and()
            .apply(new SpringSocialConfigurer())
            ;
    }
}

@@ -657,16 +657,33 @@
 quests()
+%0A                
 .antMatc
@@ -693,10 +693,14 @@
 s(%22/
-**
+signin
 %22).p
@@ -709,16 +709,120 @@
 mitAll()
+%0A                .antMatchers(%22/signup%22).permitAll()%0A                .antMatchers(%22/**%22).authenticated()
 .and()%0A 
@@ -868,29 +868,16 @@
 gurer())
-%0A            
 ;%0A    %7D%0A

Fix security config