After auth.login.url was set, got a warning - Cannot call sendRedirect()

Jamie Sammons, modified 2 Years ago. New Member Posts: 10 Join Date: 10/18/22 Recent Posts

Hi,

I am using Liferay 7.0 fp 101

I would like to have our users directly forwarded to an OIDC provider by setting:

auth.login.url=/home/-/login/openid_connect_request?p_p_state=maximized&_com_liferay_login_web_portlet_LoginPortlet_saveLastPath=false&_com_liferay_login_web_portlet_LoginPortlet_OPEN_ID_CONNECT_PROVIDER_NAME=XXXX

It was working fin in the frontend, but each time a user login, I got a warning in the log:


WARN 
[https-jsse-nio-443-exec-3][PortalImpl:6966] java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
It was working, but each time a user login, I got a warning in the log: