Spring Boot App Debugging: Too Many Redirects

I have a Spring Boot 3.3 application with Htmx and Thymeleaf that works perfectly in my local environment, but when deployed on my on-premises server, it encounters a "Too many redirects" error. It seems related to Spring Security as it keeps trying to redirect to the /login page... (Budget: $30 - $250 USD, Jobs: Java, Spring Boot, Spring Security)

Apr 4, 2025 - 12:39
 0
Spring Boot App Debugging: Too Many Redirects
I have a Spring Boot 3.3 application with Htmx and Thymeleaf that works perfectly in my local environment, but when deployed on my on-premises server, it encounters a "Too many redirects" error. It seems related to Spring Security as it keeps trying to redirect to the /login page... (Budget: $30 - $250 USD, Jobs: Java, Spring Boot, Spring Security)