SAML 認証設定の照会
認証設定エンドポイントを照会し、組織または Experience Cloud サイトの SAML シングルサインオン (SSO) および認証プロバイダーの設定に関する情報を確認できます。オンデマンドでこうした情報を必要とするアプリケーションを開発するときに、この機能を使用します。
必要なエディション
| 使用可能なインターフェース: Salesforce Classic および Lightning Experience の両方 |
| 使用可能なエディション: すべてのエディション |
Experience Cloud サイトまたは Salesforce 組織のみが認証設定エンドポイントにアクセスできます。認証設定エンドポイントへのアクセスにセッションは必要ありません。
認証設定エンドポイントへの要求に対して、Salesforce は JSON 形式で基本情報を返します。この情報には、Experience Cloud サイトまたは Salesforce 組織のユーザーの認証と登録の設定、ブランドアセット、および SSO サポートに関連するその他の値が含まれます。
認証設定エンドポイントの形式は https://<サイト URL またはカスタム URL>/.well-known/auth-configuration です。たとえば、https://MyDomainName.my.site.com/.well-known/auth-configuration です。
認証設定エンドポイントの応答
認証設定エンドポイントは、JSON 形式でのみ情報を返します。
次にサンプル応答を示します。
{
"OrgId": "00DD00#########",
"Url": "https://MyDomainName.my.site.com/partners",
"MobileSDK": {
"UseNativeBrowserForAuthentication": false
},
"LoginPage": {
"LoginPageUrl": "https://MyDomainName.my.site.com/partners/SiteLogin",
"LogoUrl": "https://MyDomainName.my.site.com/partners/img/logo190.png",
"BackgroundColor": "#B1BAC1",
"SelfRegistrationEnabled": true,
"FooterText": "acme.com",
"UsernamePasswordEnabled": false
},
"SamlProviders": [{
"name": "ADFS",
"SsoUrl": "https://adfs.my.salesforce.com?so=00DB00#########"
},
{
"name": "SF Identity",
"SsoUrl": "https://sfid.my.salesforce.com?so=00DB00#########"
}],
"AuthProviders": [{
"name": "LinkedIn",
"IconUrl": "https://www.linkedin.com/logos/img/logo.png",
"SsoUrl": "https://login.salesforce.com/services/auth/sso/00DB00000#########/LinkedIn"
},
{
"name": "Facebook",
"IconUrl": "https://www.facebook.com/logos/img/logo.png",
"SsoUrl": "https://login.salesforce.com/services/auth/sso/00DB00000#########/Facebook"
}],
"CertificateLogin": {
"Name": "Certificate-Based Login",
"LoginUrl": "https://MyDomainName.my.salesforce.com:8443/services/certauth"
}
}メモ Experience Cloud サイトでは、
UseNativeBrowserForAuthentication 値は常に false です。次の値は Experience Cloud サイトでのみ使用可能で、Salesforce 組織の場合は false または null です。
SelfRegistrationEnabledSelfRegistrationUrlDefaultProfileForRegistrationFooterTextUsernamePasswordEnabled
関連項目:
この記事で問題は解決されましたか?
ご意見をお待ちしております。

