-
Notifications
You must be signed in to change notification settings - Fork 8
SamlPartners
michael.rybintsev edited this page Aug 8, 2019
·
2 revisions
SAML Patners are companies that give access to Huddle via their Single-Sign-On IDP. This endpoint allows managing SAML Partners.
Currently this endpoint can only be consumed with admin permissions.
You can add a new SAML partner with a POST request to the saml partners endpoint.
POST /samlpartners HTTP/1.1
Content-Type: application/vnd.huddle.data+json
Authorization: OAuth2 frootymcnooty/vonbootycherooty
{
"name":"saml partner name",
"ssoServiceUri":"http://sso.uri",
"friendlyName":"saml partner friendly name",
"encodedCertificate":"base 64 encoded certificate",
"allowAutoProvisioning": true,
"signingAlgorithm": "SHA256"
}
If POST is successful, this method will return a 201 Created with the Location header pointing to the created SAML partner.
HTTP/1.1 201 Created
Location: /samlpartners/123
Case | Response |
---|---|
Invalid authorization token | 401 Unauthorized |
Actor does not have admin permission | 403 Forbidden |
Specified SAML partner name already exists | 409 Conflict |
You can edit a SAML partner with a PUT request to the saml partners endpoint.
PUT /samlpartners/123 HTTP/1.1
Content-Type: application/vnd.huddle.data+json
Authorization: OAuth2 frootymcnooty/vonbootycherooty
{
"name":"saml partner name",
"ssoServiceUri":"http://sso.uri",
"friendlyName":"saml partner friendly name",
"encodedCertificate":"base 64 encoded certificate",
"allowAutoProvisioning": true,
"signingAlgorithm": "SHA1"
}
If the update is successful, this method will return 200 OK status code.
HTTP/1.1 200 OK
Case | Response |
---|---|
Invalid authorization token | 401 Unauthorized |
Actor does not have admin permission | 403 Forbidden |
Requested SAML Partner Id does not exist | 404 Not Found |
Specified SAML partner name already exists | 409 Conflict |
- Basic concepts
-
Resources
- Actor
- Approvals
- BulkProcess
- Calendar
- Membership
- Company
- Document
- Document library settings
- Folder
- Paged Folder
- Pins
- Integrations
- Form
- Friends
- Invitation
- Link
- Document Lock
- Folder Lock
- Localisation
- MemberAutocomplete
- Notifications
- Offline item
- PeopleBulkProcess
- Permissions
- Presence
- PublishedDocuments
- Recents
- Recommendations
- Recycle Bin
- Search
- Share
- Tasks (Todos), File Requests, Approvals
- Tasks on Documents
- Actions
- UserApprovals
- User
- VersionHistory
- Workspace
- Workspaces
- SamlPartners
- Logout
- Impersonation
- Administration
- WebHooks