Issue
- Unable to login with OpenID from the Sign-In portlet:
ERROR [http-nio-8080-exec-2][OpenIdConnectLoginRequestMVCActionCommand:190] Unable to process the OpenID Connect login: java.lang.IllegalStateException: Resource URI must be absolute and with no query or fragment:
com.liferay.portal.kernel.exception.PortalException: java.lang.IllegalStateException: Resource URI must be absolute and with no query or fragment:
at com.liferay.portal.security.sso.openid.connect.internal.OpenIdConnectAuthenticationHandlerImpl.requestAuthentication(OpenIdConnectAuthenticationHandlerImpl.java:234) ~[?:?]
at com.liferay.login.authentication.openid.connect.web.internal.portlet.action.OpenIdConnectLoginRequestMVCActionCommand.doProcessAction(OpenIdConnectLoginRequestMVCActionCommand.java:155) ~[?:?]
Environment
-
After you have configured and enabled an OpenID connection, from the login portlet, click OpenID Connect at the bottom.
-
Choose a provider and click Sign in
-
Enter your credentials and log in
Resolution
- Remove "example_key" default string in:
- OAuth Client Default Authorization Request Parameters:
{
"resource": [],
"scope": "openid email profile",
"custom_request_parameters": {},
"response_type": "code"
}
-
- OAuth Client Default Token Request Parameters :
{
"resource": [],
"custom_request_parameters": {}
}
Additional Information