getWellknownOpenidConfiguration
GET
https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/.well-known/openid-configuration
Returns a JSON listing of the OpenID/OAuth endpoints, supported scopes and claims, public keys used to sign the tokens, and other details.
For performance purposes, the /.well-known/openid-configuration
endpoint is rate limited to 25 call per minute.
Request
curl "https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/.well-known/openid-configuration"
URI parameters
shortCode
string
Required
A region-specific merchant identifier.
Pattern:
^([a-z0-9]+)(-[a-z0-9]+)*$
0dnz6ope
version
string
Required
organizationId
string
Required
Responses
Success
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"
]
}