Problem is quite simple, your pom had spring-boot-stater-security. This will force you to login first before any other work.