- URL:
- https://[root]/portals/[portalID]/idp/federation/register
- Methods:
POST
Example usage
The following is a sample ArcGIS Online POST request for the register
operation:
POST /sharing/rest/portals/0123456789ABCDEF/idp/federation/register HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
name=My SAML federation&discoveryServiceUrl=https://discovery.example.com&metadataServiceUrl=https://metadata.example.com&entityId=org.maps.arcgis.com&certificate=...&userCreditAssignment=-1&groups=6dc1a6f134b44ebb8d1f1b55f0ad8753&signUpMode=Automatic&roleId=org_user&level=&userLicenseType=editorUT&userType=arcgisonly&f=pjson
The following is a sample ArcGIS Enterprise POST request for the register
operation:
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/idp/federation/register HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
name=My SAML federation&discoveryServiceUrl=https://discovery.example.com&metadataServiceUrl=https://metadata.example.com&entityId=org.domain.com&certificate=...&userCreditAssignment=-1&groups=6dc1a6f134b44ebb8d1f1b55f0ad8753&signUpMode=Automatic&roleId=org_user&level=&userLicenseType=editorUT&userType=arcgisonly&f=pjson
Description
The register
operation allows organization administrator to configure enterprise login using a SAML-based federation of identity providers. An organization can be set up using either a single IDP or a federation, not both.
Request parameters
Property | Details |
---|---|
| The SAML federation name. Example
|
| SAML federation discovery service URL. Example
|
| SAML federation aggregate metadata service URL. Example
|
| Base64-encoded certificate text used to validate metadata service, enclosed between |
| Entity ID used to identify the organization in SAML federation. Example
|
| Specific credit allocation for each joining member or to the default organization limit with |
| An array of groups members are added upon joining the organization, used when Example
|
| If Values: |
| If Values: |
| If Values: |
| If Values: |
| If Values: |
| Determines the enterprise members joining mode to the organization, automatically or through an invitation. Values: |
| The default role members are assigned, used when |
| Default user license type members are assigned, used when |
| Determines if new members will have Esri access ( Values: |
| The response format. The default format is Values: |
Response properties
Property | Details |
---|---|
| Indicates if the operation was successful. |
| The ID of the organization identity federation. |
JSON Response example
The following demonstrates a returned success response:
{
"success": true,
"federationId": "J55ajJJ7MsY1QoQs"
}
The following demonstrates a returned error message:
{
"error": {
"code": 400,
"message": "Unable to register Federation",
"details": [
"'discoveryServiceUrl' must be specified.",
"'metadataServiceUrl' must be specified."
]
}
}