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

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

投稿者

Julián Vela Cubas

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

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