Get your social login providers

Returns a list of the available providers for an application. Call this operation if you are using custom code for Social Login instead of using the Identity Cloud's JavaScript SDK implementation.

Authentication

This operation doesn't require authentication.

Accepted content types

  • application/x-www-form-urlencoded
  • multipart/form-data

Base URL

The base URL for this operation is your application domain followed by /api/v2; for example:

https://educationcenter.rpxnow.com/api/v2

You can find your application domain in the Social Login dashboard on the Settings page.

Example request

This command returns a list of available providers for an application.

curl -X POST \
    https://janrain-docs.com/api/v2/get_available_providers

Example response

If your API call succeeds the response includes all the social login identity providers available for use with the application:

{
  "stat": "ok",
  "signin": [
    "facebook",
    "googleplus",
    "twitter",
    "paypal",
    "paypal_openidconnect",
    "yahoo",
    "linkedin",
    "microsoftaccount",
    "salesforce",
    "foursquare",
    "amazon",
    "aol",
    "apple",
    "blogger",
    "disqus",
    "flickr",
    "instagram",
    "line",
    "linkedin-oauth2",
    "livejournal",
    "microsoftonline",
    "mixi",
    "netlog",
    "odnoklassniki",
    "openid",
    "qq",
    "renren",
    "sinaweibo",
    "soundcloud",
    "tencentweibo",
    "tumblr",
    "verisign",
    "vk",
    "wechat",
    "wordpress",
    "xing",
    "yahoo-oauth2"
  ],
  "social": [
    "facebook",
    "twitter",
    "googleplus",
    "linkedin"
  ],
  "share": [
    "facebook",
    "twitter",
    "googleplus",
    "linkedin",
    "mixi",
    "xing",
    "tencentweibo",
    "qq"
  ]
}

Parameters

Parameters can be configured as x-www-form-urlencoded or as multipart/form-data body parameters.

ParameterTypeRequiredDescription
callbackstringIf present, data is returned in JSONP (JSON with Padding) format. If not present, data is returned by using JSON.

You can supply a value to the callback parameter, but that value is ignored and the response wil use the JSONP format simply because callback is present.