Get your domains allow list

Returns the domains currently on the social login allow list for an application. If the allow list is configured, only the domains on that list are allowed to communicate with your social login application.

Authentication

This opera uses your social login API key for authentication. This 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:

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

You can find your application domain in the Social Login (Engage Dashboard) on the Settings page.

Example request

The following command returns information about the domains on your social login allow list. When configured, only those domains on the allow list are allowed to communicate with your social login application. Among other things, that means you can only login or register from those domains.

curl -X POST \
  --data-urlencode apiKey=1234567891234567891234567891234567891234 \
  https://janrain-docs.rpxnow.com/api/v2/get_domain_patterns

Example response

If your API call suceeds you'll get back the names of all the domains on the allow list.

{
  "stat": "ok",
  "domains": ["localhost","somewhere.com","*.example.com"]
}

Parameters

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

ParameterTypeRequiredDescription
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.