You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.csrf().ignoringAntMatchers("/login", "/logout").csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse()).and()
Though I am not sure if this is the right way, somehow disabling CSRF works.
Im receiving the Whitelabel Error Page even thought I have configured with WebSecurityConfigurerAdapter.
I can see the index page, but when I try to access the Login route I'm not redirected, receiving the Whitelabel Error Page.
My Pom
`
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.0.1.RELEASE
com.example
massageapp
0.0.1-SNAPSHOT
massageapp
Demo project for Spring Boot
And my filter code.
`@SpringBootApplication
@EnableOAuth2Sso
@RestController
public class SocialApplication extends WebSecurityConfigurerAdapter {
}
`
Im have searched A LOT about what can solve. But I'm lost!
The text was updated successfully, but these errors were encountered: