List custom providers

To view a list of all your custom providers, use the GET method and the /custom-providers operation.ย 


๐Ÿ“˜

Canโ€™t you just look at your custom providers in the Social Login Dashboard? No: remember, those providers typically donโ€™t show up in the Social Login Dashboard.


For example, the following Curl command returns information for all the custom providers configured for the Social Login application layflfixkxlhgruitref:

curl -L -X GET \
  'https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/layflfixkxlhgruitref/custom-providers' \
  -H 'Authorization: Bearer 90Yqubr1_0DvSDtNl8OVtkOyPV6orQspL3ZYCYLzvp_qiTWCVqnGBlnhJcF-gW90'

If that API call succeeds, youโ€™ll get back information similar to this:

{
  "_links": {
    "self": {
      "href": "https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/hsvgwtngmcsycuerawjj/custom-providers"
    },
    "item": {
      "href": "https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/hsvgwtngmcsycuerawjj/custom-providers{/id}",
      "templated": true
    }
  },
  "_embedded": {
    "item": [
      {
        "_links": {
          "self": {
            "href": "https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/hsvgwtngmcsycuerawjj/custom-providers/c5f8716f-f5d8-437b-b181-ddd7b056668a"
          }
        },
        "id": "c5f8716f-f5d8-437b-b181-ddd7b056668a",
        "protocol": "saml2",
        "title": "Acme's SAML2 Production",
        "ui": {
          "icon_url": "https://idp.example.com/icon-saml2.png",
          "title": "Sign in with Acme"
        }
      },
      {
        "_links": {
          "self": {
            "href": "https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/hsvgwtngmcsycuerawjj/custom-providers/bffa85f5-674e-4581-89be-cc71f6a6d7dc"
          }
        },
        "id": "bffa85f5-674e-4581-89be-cc71f6a6d7dc",
        "protocol": "openidconnect",
        "title": "Acme's OIDC Production",
        "ui": {
          "icon_url": "https://idp.example.com/acme-oidc.png",
          "title": "Acme"
        }
      },
      {
        "_links": {
          "self": {
            "href": "https://v1.api.us.janrain.com/00000000-0000-0000-0000-000000000000/v2/config/low/services/engage-v2/apps/hsvgwtngmcsycuerawjj/custom-providers/7a0da5f5-1fa8-4b82-963b-9804212003ad"
          }
        },
        "id": "7a0da5f5-1fa8-4b82-963b-9804212003ad",
        "protocol": "oauth2",
        "title": "Acme's OAuth2 Production",
        "ui": {
          "icon_url": "https://idp.example.com/acme-oauth2.png",
          "title": "Acme"
        }
      }
    ]
  },
  "total": 3
}