This article provides detailed information about how Appian can connect to systems that use the OAuth 2.0 Client Credentials grant. Designers can configure these integrations using an HTTP connected system.
The OAuth 2.0 framework is defined by the ITEF RFC 6749 standard.
Appian supports the authorization code and client credentials grant types.
Unlike the Authorization Code grant, the Client Credentials grant is used when access is being requested on behalf of an application, not a user. As a result, configuring authentication with Client Credentials has fewer steps.
This standard lays out the sequence of steps involved with the Authorization Code grant. There are three main roles in this sequence:
The following sequence diagram describes the steps involved in a successful authorization, with a resource returned to the client.
The first part of the authorization process involves the client sending a token request to the authorization server. The authorization server determines whether the credentials are valid, as well as whether the application has granted the permissions being requested. If it has, the authorization server returns an access token to the client.
This access token will allow the client to request whatever resources were approved by the application.
There are several important design considerations when using the client credentials flow.
It is very important to review and understand the requirements in the third-party system for a successful OAuth connection.
In order for Appian to successfully connect to the desired resources, you will have to register the connection in the third-party system. This is typically done under a third party system's Developer UI. The terminology varies, but registration usually requires creating an application or project in that system.
When registering an app or project in a third-party system a couple things need to be considered:
The following parameters from the third-party system will need to be entered into the connected system. Refer to the third-party's documentation for more information.
|Client ID||Required. ID provided by the third-party system during the registration process.|
|Client Secret||Required. The password provided by the third-party system during the registration process. This field is masked to prevent unauthorized users from seeing and should be treated as a password.|
|Scope||Optional. Defines what resources need to be accessed from the resource server. Depending on what system Appian is connecting to, permissions may be configured in the Developer UI rather than using a scope. In these cases, a default scope value may be specified in their documentation.|
|Token Request Endpoint||Required. The endpoint that provided the access token for the specified resources. This value can typically be found in the third-party's documentation.|
On This Page