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
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
Response properties
Property | Details |
---|---|
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
|
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"
]
}
}