- URL:https://[root]/portals/[portalID]/socialProviders/configure(POST only)
Example usage
Below is a sample ArcGIS Online POST request for the configure operation:
POST /sharing/rest/portals/0123456789/socialProviders/configure HTTP/1.1
Host: org.arcgis.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Length: []
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="signUpMode"
Automatic
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="providers"
facebook,google
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="role"
org_viewer
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="level"
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="userLicenseType"
editorUT
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="userCreditAssignment"
-1
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="groups"
ee318ee7826e42b7813dbd2462b64eaa,019de89434b341c68b1d97762a0dcc9e
------WebKitFormBoundaryGoAsQXa23Mq0jH6v
Content-Disposition: form-data; name="f"
pjson
------WebKitFormBoundaryGoAsQXa23Mq0jH6v--
Description
The Configure Social Providers operation (POST only) allows organization administrators to set up their organization so that members can sign up and sign in to ArcGIS using their credentials from social networks like Facebook, Google, Apple, and GitHub. This functionality only applies to ArcGIS Online.
Request parameters
Parameter | Details |
---|---|
signUpMode | Specify how a user can sign up with their social credentials to ArcGIS. Values: Invitation | Automatic |
providers | A comma separated list of social providers that are allowed. Supported providers: facebook,google,apple,github |
userLicenseType | Default user license type members are assigned, used when signUpMode is Automatic. |
role | Default role members are assigned, used when signUpMode is Automatic. |
userCreditAssignment | Specific credit allocation for each joining member, organization needs to have credit budgeting enabled. Used when signUpMode is Automatic. |
groups | A list of groups members are added automatically upon joining the organization, used when signUpMode is Automatic. |
clearEmptyFields | Clears any string fields that are passed in empty. Values: true | false |
f | The response format. The default format is html. Values: html | json | pjson |
Response properties
Property | Details |
---|---|
success | Indicates if the operation was successful. |
JSON Response example
{"success": true}