A Spring Boot app with REST services has to allow public access to certain services, while restricting other services to only authorized users. When a configure(WebSe
I think what you have done is made the /error view a protected resource. Either open it up or stop using @EnableWebSecurity (it switches off some stuff that spring boot would have done for you otherwise).