/socialProviders/configure: Configure Social Providers

URL:
https://[root]/portals/[portalID]/socialProviders/configure
Methods:
POST

Example usage

The following is a sample ArcGIS Online POST request for the configure operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 operation 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

ParameterDetails

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

PropertyDetails

success

Indicates if the operation was successful.

JSON Response example

Use dark colors for code blocksCopy
1
{"success": true}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.