Spring Boot project shows the Login page

If you don’t want login page (from Spring-Security) remove the following dependency from your pom.xml and do maven update to refresh the dependencies on the class path.

<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-security</artifactId>
</dependency>

Or if you want to use the Spring-Security then on console it will display the default password like below :

Using default security password: ce6c3d39-8f20-4a41-8e01-803166bb99b6

the default username will be user

Leave a Comment