Skip To Content

/socialProviders: Social Providers

Example usage

Below is a sample ArcGIS Online request URL used to access the socialProviders resource:

https://org.arcgis.com/sharing/rest/portals/0123456789ABCDEF/socialProviders?f=pjson

Below is a sample ArcGIS Enterprise request URL used to access the socialProviders resource:

https://machine.domain.com/webadaptor/sharing/rest/portals/0123456789ABCDEF/socialProviders?f=pjson

Description

The socialProviders resource returns the social login configuration properties for an organization.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Response properties

PropertyDetails
config

A JSON object with signUpMode, providers properties that provides social login configuration of an organization. Empty object if org does not have social login enabled. Additional properties like role, userLicenseType, userCreditAssignment and groups are also available when organization has Automatic sign up mode.

Example


{
  "signUpMode": "Invitation",
  "providers": [
    "facebook",
    "google",
    "apple",
    "github"
  ],
  "role": "org_user",
  "userCreditAssignment": 20,
  "groups": [
    "ee318ee7826e42b7813dbd2462b64eaa",
    "019de89434b341c68b1d97762a0dcc9e"
  ],
  "userLicenseType": "creatorUT"
}

JSON Response syntax


{
  "config": {
    "signUpMode": "<sign up mode>",
    "providers": [
      "<social provider1>",
      "<social provider2>",
      "<social provider3>",
      "<social provider4>"
    ]
  }
}

JSON Response example


{
  "config": {
    "signUpMode": "Invitation",
    "providers": [
      "facebook",
      "google",
      "apple",
      "github"
    ]
  }
}