/app/get_provider_permissions

This call returns an Social Login application's permissions for a provider, as set with the set_provider_permissions call.

Accepted Content-types

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

This endpoint accepts the following methods:

  • POST


POST

Authentication

This endpoint supports Basic authentication. 

How to Create an Authentication String

Base URL

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

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

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

Example Request


curl -X POST \
    --data-urlencode apiKey=1234567891234567891234567891234567891234\
    --data-urlencode partnerKey=9876543219876543219876543219876\
    --data-urlencode provider=google \
    https://rpxnow.com/partner/v2/app/get_properties
      
      Running this command in Postman

Example Response


{
  "stat": "ok",
  "permissions": [
    "readContactsCheckins",
    "manageNotifications",
    "publishCheckins",
    "readCheckins",
    "sendSms",
    "chatLogin",
    "managePages",
    "manageAds",
    "readRequests",
    "readMailbox",
    "rsvpEvent",
    "offlineAccess",
    "onlinePresence",
    "readContactLists",
    "contactsOnlinePresence",
    "createEvent"
  ]
}
      

Query Parameters

Parameter Type Required Description
apiKey string Yes Your Social Login apiKey, which you can find on the Janrain Dashboard.
 
format string The response format: either xml or json. If not specified, the response defaults to json.
 
partnerKey string Yes Your Social Login partnerKey, which you can find on the Janrain Dashboard.
 
provider string Yes The name of the provider about which you want information.
 

Responses

200 OK

Response Fields

Field

Type

Description

stat

dictionary

This response is either ok or fail. If it fails, it includes information on what went wrong. Otherwise, the remainder of these fields will be present.

permissions

dictionary

A list of all the permissions that have been configured for the specified provider with the set_provider_permissions call. See the documentation on set_provider_permissions for a list of all available permissions for each provider.