Hello guys, I'm a beginner here who's trying Spring Boot security.
I'm trying to sign in with the httpSecurity but when I do my sign-in request, SPring boot redirects me to the famous ```Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sat Jul 20 23:12:55 CEST 2024
There was an unexpected error (type=Internal Server Error, status=500).``` issue.
The thing is in my security configuration I understand I have to modify this line :
.formLogin(form -> form
// Redirect the user if successfull authentication
.defaultSuccessUrl("/",true)
)
.logout(config-> config.logoutSuccessUrl("/"))
// Redirect the user if log the fuck out
.build();```
But my home URL is `http://localhost:8080/` do you know how to modify the url to at least redirect it to the homepage ( I built my environment with Maven ) ?