-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
I was following this guide, but my front-end project is separated from the spring boot project. After the first part, completing the angular login form & logout, logging out makes spring redirect you to a /login?logout page. Since he'll search for this path on the server, you get a 404 on the front end.
I found the solution for this to define a custom logoutsuccesshandler with HttpStatusReturningLogoutSuccessHandler as handler. Perhaps this is handy to mention in the tutorial itself to spare (poor! poor!) users like myself to scroll up & down to double check everything..