[サインイン] ボタンをクリックした後に OpenID Connect ページにリダイレクトする方法
written-by
Gábor Komáromi
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 Connect 経由でログインするための手順は非常に長くなります。 彼らはしないといけない:
ホームページの「サインイン」ボタンをクリック
サインイン ポートレットが表示されます
「OpenID Connect」リンクをクリックします
OpenID ID プロバイダーの選択
ID プロバイダーのサインイン ページにリダイレクトされる前に、サインイン ポートレットの [サインイン] ボタンをクリックします。
このプロセスを短縮して、サインイン ボタンを最初にクリックした後に ID プロバイダーのサインイン ページに移動するにはどうすればよいでしょうか?
Environment
Liferay DXP 7.2
OpenID Connect プロトコル
解決策
ユーザーが OpenID Connect プロバイダーに送信される前に必要なプロセスに含まれるステップを最小限に抑えることができるデフォルトのオプションはありません。
ただし、portal-ext.properties を変更することによる回避策があります。
Enter a URL that will be used to login portal users whenever needed. By default, the portal's login page is used. Env: LIFERAY_AUTH_PERIOD_LOGIN_PERIOD_URL Examples: auth.login.url=/web/guest/home
終了:
Enter a URL that will be used to login portal users whenever needed. By default, the portal's login page is used. Env: LIFERAY_AUTH_PERIOD_LOGIN_PERIOD_URL Examples: 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_redirect=/&_com_liferay_login_web_portlet_LoginPortlet_OPEN_ID_CONNECT_PROVIDER_NAME= IAM
IAM 、システム設定 > SSO > OpenID Connect プロバイダーの下に入力された プロバイダー名 を表します。
これにより、[サインイン] をクリックすると、ユーザーは ID プロバイダーのサインイン ページに自動的にリダイレクトされます。
did-this-article-resolve-your-issue