UiPath Documentation
test-cloud
latest
false

Test Cloud admin guide

Managing federated identity credentials

As an organization administrator, you can register, view, update, and delete federated credentials for an OAuth external application.

Note:

Federated credentials for external applications is an API-only feature. There is no user interface for managing federated credentials.

Prerequisites

Register a federated credential

To add a federated credential to an existing OAuth external application, use the Create a federated credential API.

Note:

Each application supports a maximum of 20 federated credentials.

View existing credentials

To retrieve the federated credentials registered for an application, use the List federated credentials API.

Update a federated credential

To update a federated credential, use the Update a federated credential API.

Delete a federated credential

Warning:

Deletion is permanent. After deletion, the credential can no longer be used to acquire new access tokens. Access tokens already issued before deletion remain valid until they expire.

To delete a federated credential, use the Delete a federated credential API.

Obtain an access token using a federated credential

After registering a federated credential, an application obtains a UiPath access token by presenting a JWT from the configured identity provider as a client_assertion.

Replace {accessURL} with the base URL for your cloud platform:

Cloud platformAccess URL
Automation Cloudhttps://cloud.uipath.com
Test Cloud Public Sectorhttps://govcloud.uipath.us
Automation Cloud Dedicatedhttps://{customURL}.dedicated.uipath.com
curl --location '{accessURL}/identity_/connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id={CLIENT_ID}' \
--data-urlencode 'client_assertion={JWT_TOKEN}' \
--data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer'
curl --location '{accessURL}/identity_/connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id={CLIENT_ID}' \
--data-urlencode 'client_assertion={JWT_TOKEN}' \
--data-urlencode 'client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer'
ParameterDescription
grant_typeMust be client_credentials.
client_idThe client ID of the registered OAuth external application.
client_assertionThe JWT issued by your external identity provider.
client_assertion_typeMust be urn:ietf:params:oauth:client-assertion-type:jwt-bearer.

On success, the endpoint returns a UiPath access token you can use to call UiPath APIs.

For the full API reference for managing federated credentials programmatically, see External client — Federated credentials API.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated