Sites

Get the SSO configuration for a site

This endpoint retrieves the SSO configuration for a specific site.

get/shop/sites/{siteId}/shop-config/sso

Response

The SSO configuration for the site.

Example response

{
  "data": {
    "type": "customer_sso",
    "enabled": true,
    "authorize_url": "https://api.trybe.test/authorize",
    "credentials": {
      "client_id": "1234",
      "has_client_secret": true,
      "masked_client_secret": "***********"
    },
    "token_url": "https://api.trybe.test/token",
    "user_info_url": "https://api.trybe.test/userinfo",
    "scopes": [
      "openid"
    ],
    "token_request_style": "form_params",
    "user_mappings": [
      {
        "key": "email",
        "fields": [
          "email"
        ]
      }
    ],
    "created_at": "2025-05-01T00:00:00Z",
    "updated_at": "2025-05-01T00:00:00Z"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.