GET Customer Identity Provider Configuration

​

Tells you whether the brand hands customer identity to an external provider (SSO) instead of using MENU accounts. Read it before showing any sign-in screen.

When is_enabled is true, MENU's own customer auth endpoints — login, registration, social and token login — are blocked with 403. Hide them, obtain a token from the brand's identity provider, and send that as the customer Authorization token instead.

When it is false, or no configuration exists, use the normal MENU customer auth endpoints.

client_id and public_key_certificate are the provider's public values, needed to drive the SSO handshake. No secret is returned.

Path Parameters

  • Brand ID

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Version of the API to be used

  • Unique request identifier

Responses

  • application/json
  • A signed-in user account may not view this brand.

  • Unknown brand, or the brand is not visible to this application.

Request Example for get/brands/{brand_id}/customer-identity-provider-configuration
curl https://api-public-demo.menu.app/api/brands/57/customer-identity-provider-configuration \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": 200,
  "data": {
    "customer_identity_provider_configuration": {
      "id": 1,
      "brand_id": 57,
      "is_enabled": true,
      "client_id": "abc-client",
      "public_key_certificate": "-----BEGIN CERTIFICATE-----…"
    }
  }
}