I previously have a Spring Boot 2.7.6 / Java 11 application that used the com.auth0.AuthenticationController to build my Authorize Url.
Moving to Spring Boot 3.0.1 / Java 17, the application now fails because the AuthenticationController uses javax.servlet.http.HttpServletRequest and javax.servlet.http.HttpServletResponse . SpringBoot 3.0 which uses Tomcat 10.0 is expecting jakarta.servlet.http.HttpServletRequest.
I get the “No primary or single unique constructor found for interface javax.servlet.http.HttpServletRequest” error
Now I can use Spring Boot 3.0.1, if I use the spring-boot-starter-oauth2-client library but I really want to use the AuthenticationController as I can append the ui_locales query parameter to the Authorize Url to control localisation of the Auth0 login widget.
When will a Spring Boot 3.0 update be available for the com.auth0.AuthenticationController i.e an update to the mvc-auth-commons jar?
Has anyone found a work around. The key issue is the ability to append the ui_locales to the Authorize URL.
Thanks in advance