Assign social login providers

Use this operation to define the set of social login identity providers provided by Identity Cloud to sign-in enabled pages. This is the same list that is managed by the Social Login dashboard.

The operation modifies the set of social login providers available to the user.

Accepted content types

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


This operation uses your social login API key for authentication. The social login key can be found on the Settings page of the Social Login Dashboard. See Get started for more information.

Base URL

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

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

Example request

This command assigns three social login providers (Amazon, Facebook, and Twitter) for use with the social login application 1234567891234567891234567891234567891234.

curl -X POST \
  --data-urlencode apiKey=1234567891234567891234567891234567891234 \
  --data-urlencode providers='amazon,facebook,twitter' \

Example response

If your API call succeeds the response consists of the status ok.

  "stat": "ok"


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

apiKeystringSocial login secret for authenticating the operation. To verify your API key, log in to Console and, on the Manage Application page, check the value of the rpx_key setting. This value also appears on the Settings page in the Social Login dashboard.
device_typestringSpecifies the device types that can use social login. Valid values are:

web. Social login is available to regular web traffic.
iphone. Social login is available to web traffic originating from an iPhone.
android. Social login is available to web traffic originating from an Android device.

To make the provider available to multiple device types, use multiple instances of the deviceType member. For example, a single request might include one instance of deviceType set to web and a second instance set to iphone.
providersstringComma-separated string of provider specifiers. S