legacy-knowledge-base
公開されました Jun. 30, 2025

OpenID Connectログインを処理できません:リソースURIは絶対的なもので、クエリやフラグメントがない必要があります。

written-by

Julián Vela Cubas

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

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

legacy-article

learn-legacy-article-disclaimer-text

問題

  • サインインポートレットからOpenIDでログインできません
    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) ~[?:?]

環境

  • OpenID接続の設定と有効化が完了したら、ログインポートレットから下部のOpenID Connectをクリックします。

  • プロバイダーを選択し、サインインをクリックします。

  • 認証情報を入力してログインする

解像度

  • example_key "のデフォルト文字列を削除:
    • OAuth クライアントのデフォルト認証リクエストパラメーター:
{
"resource": [],
"scope": "openid email profile",
"custom_request_parameters": {},
"response_type": "code"
}
    • OAuth クライアントのデフォルトトークンリクエストパラメーター :
{
"resource": [],
"custom_request_parameters": {}
}

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base