Language:

/vendors/okta

/vendors/okta endpoints are used to register, get, update and delete secrets of a tenant in Zesty. This will be used for the Okta SSO flow.

Only Zesty users with role admin or owner are authorized to use these APIs.

Fields:

namedescription
client_domainthe Okta tenant's domain URL, also called issuer
ecosystem_zuidthe ecosystem where the Okta organization will be mapped
client_idpublic identifier for the client that is used to generate authorization code for the user
client_secretprivate identifier for the client that is used to generate the access token, refresh token and id_token which contains the user information
POST

Create Okta

Creates a new Okta Org record based on the ecosystem the user have admin/owner permissions.

KeyDescription
oktaorg_zuid[string] Required. The ecosystem ZUID the user have admin/owner permissions.
client_id[string] Required.
client_secret[string] Required.
client_domain[string] Required. URL encoded domain. E.g. "https://clientdomain.com"
Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/vendors/okta
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
    "ecosystem_zuid": {{ecosystem_zuid}},
    "client_id": "client_id",
    "client_secret": "client_secret",
    "client_domain": "client_domain"
}
GET

Get Okta

Retrieves an Okta Org record based on the client_domain.

This API supports user session token (bearer token) as long as the user is a Zesty admin/owner as well as support for Service-to-Service token using X-Auth custom header request.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/vendors/okta?clientDomain={{client_domain}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 
PUT

Update Okta

Updates an Okta Org record based on its ZUID.

KeyDescription
oktaorg_zuid[string] Optional. The new ecosystem's ZUID the user have admin/owner permissions.
client_id[string] Optional. The new client_id. Note that client_secret will be required.
client_secret[string] Optional. The new client_secret. Note the client_id will be required.
client_domain[string] Optional. New client_domain. E.g. "https://clientdomain.com"
Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/vendors/okta/{{ecosystem_zuid}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
    "ecosystem_zuid": {{ecosystem_zuid}},
    "client_id": "client_id",
    "client_secret": "client_secret",
    "client_domain": "client_domain"
}
DELETE

Delete Okta

Deletes an Okta Org record.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/vendors/okta/{{ecosystem_zuid}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

;