サービスポータル SSO ログイン用の特定の ID プロバイダー (specific Identity Provider: IdP) リダイレクトの構成Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 複数のアイデンティティ プロバイダー (IdP) が自動リダイレクト IdP なしで設定されている場合、glide_sso_id で定義された IdP sys_id を含む URL を使用しても、ユーザーは指定されたサービス ポータルにリダイレクトされません。 例えば、次の test_sp と test_sp2 はサービスポータルの URL ですが、リダイレクトされません。 https://<instance_name>.service-now.com/test_sp/login_with_sso.do?glide_sso_id=8abf82b9dbf08414b9d31649489619d5 https://<instance_name>.service-now.com/test_sp2/login_with_sso.do?glide_sso_id=8abf82b9dbf08414b9d31649489619d5 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } すべてのリリース Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } login_with_sso.do エンドポイントはディープリンクをサポートしていません。そのため、glide_sso_id を含む URL は、目的のポータルにリダイレクトされません。 Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Resolution 1. サービスポータルに直接アクセスします。 https://<instance_name>.service-now.com/test_sp https://<instance_name>.service-now.com/test_sp2 2. 特定のポータルのIdPを構成するには、次のナレッジ記事をガイドとして使用してください。 Disable SSO auto-redirect for some portals to local login while still keeping SSO authentication for others 3. step 2 で次のラインをコメントアウトします。 data.default_idp = GlideProperties.get("glide.authenticate.sso.redirect.idp"); 4. そのすぐ下に次の行を追加します。 data.default_idp ='8abf82b9dbf08414b9d31649489619d5'; 5. 8abf82b9dbf08414b9d31649489619d5 は、特定のポータルに使用する IdP の sys_id です。これをポータル test_sp と test_sp2 の両方に適用します。 クライアントコントローラースクリプトで、8abf82b9dbf08414b9d31649489619d5 は次の様に「c.data.default_idp」になります。 if (!c.data.is_logged_in && c.data.multisso_enabled && c.data.default_idp) { c.server.get({ action: "set_sso_destination", pageURI: c.data.pageURI }).then(function() { $window.location = "/login_with_sso.do?glide_sso_id=" + c.data.default_idp; }); } リダイレクトをより選択的または複雑にする必要がある場合は、サーバースクリプトにコーディングを追加できます。