| ログイン URL の種別 | Government Cloud でのサポート |
| 一般的な Salesforce ログイン URL
login.salesforce.com test.salesforce.com | サポートされていません |
| インスタンス固有の URL
na1.salesforce.com cs1.salesforce.com など | 一部サポート* |
| MyDomain URL
MyDomain.my.salesforce.com など | 常にサポート |
| 注意:login.salesforce.com と test.salesforce.com は Government Cloud へのログインではサポートされていないため、これらのサイトから送信されたパスワードリセットのリクエストは Government Cloud ユーザーには有効ではありません。 Government Cloud ユーザーのログインのパスワードリセットをリクエストするには、上記のサポート対象の Government Cloud ログイン URL 種別のパスワードリセット機能を使用するか、Salesforce サポート宛にケースを登録してください。 |
Salesforce DX で OAuth 2.0 を使用して組織を認証する場合、--instanceurl パラメーターに正しい MyDomain URL またはインスタンス URL を使用する必要があります。ただし、オーディエンスの値は個別に login.salesforce.com (本番用) または test.salesforce.com (Sandbox 用) にする必要があります。
この問題を解決するには、sfdx force:auth:jwt:grant コマンドを実行する前に、次のいずれかのコマンドを実行し、本番と Sandbox のどちらに接続しているかに応じてオーディエンスを手動で設定します。
export SFDX_AUDIENCE_URL=https://login.salesforce.com/
export SFDX_AUDIENCE_URL=https://test.salesforce.com/
詳細は、「JWT フローを使用した組織の認証」を参照してください。
000386092

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.