I'm trying to create a login page with Registration form using Spring security version. Below is the code to implement the functionality. I've been looking for the solution why I'm unable to reach out the registration page. Trying to access the registration form with URI(http://localhost:8081/registration) When trying to access the registration page, the page by itself redirects to login page. If someone get any idea please share and help me on how to debug this issue and find the solution. How spring boot application can be debugged to figure out this kind of issue. Thanks.