getWellknownOpenidConfiguration
GET
https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/.well-known/openid-configuration
OpenID/OAuth のエンドポイント、サポートされるスコープとクレーム、トークンの署名に使用される公開鍵、その他の詳細を JSON 形式で返します。
パフォーマンス上の理由から、/jwks
エンドポイントのレート制限は 1 分あたり最大 25 件の呼び出しです。
Request
curl "https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/.well-known/openid-configuration"
URI parameters
shortCode
string
Required
地域固有のマーチャント識別子。
Pattern:
^([a-z0-9]+)(-[a-z0-9]+)*$
0dnz6ope
version
string
Required
organizationId
string
Required
Responses
成功
Example
{
"issuer": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2",
"authorization_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/authorize",
"token_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/token",
"revocation_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/revoke",
"userinfo_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/userinfo",
"jwks_uri": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/jwks",
"grant_types_supported": [
"authorization_code",
"authorization_code_pkce",
"client_credentials",
"refresh_token"
],
"id_token_encryption_enc_values_supported": [
"A256GCM"
],
"subject_types_supported": [
"public"
],
"claims_supported": [
"email",
"name",
"given_name",
"family_name",
"sub"
],
"scopes_supported": [
"email",
"openid",
"profile"
],
"response_types_supported": [
"code",
"token",
"token id_token"
],
"code_challenge_methods_supported": [
"S256"
]
}
Body
Media type:
application/json
false
Example
{
"issuer": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2",
"authorization_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/authorize",
"token_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/token",
"revocation_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/revoke",
"userinfo_endpoint": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/userinfo",
"jwks_uri": "https://stg.us.shopper.cc.salesforce.com/api/v1/organizations/zzzz_tst/oauth2/jwks",
"grant_types_supported": [
"authorization_code",
"authorization_code_pkce",
"client_credentials",
"refresh_token"
],
"id_token_encryption_enc_values_supported": [
"A256GCM"
],
"subject_types_supported": [
"public"
],
"claims_supported": [
"email",
"name",
"given_name",
"family_name",
"sub"
],
"scopes_supported": [
"email",
"openid",
"profile"
],
"response_types_supported": [
"code",
"token",
"token id_token"
],
"code_challenge_methods_supported": [
"S256"
]
}