Legacy Knowledge Base
Published Jun. 30, 2025

Unable to process the OpenID Connect login: Resource URI must be absolute and with no query or fragment

Written By

Julián Vela Cubas

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

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

 

 

Did this article resolve your issue ?

Legacy Knowledge Base