Tenjin Icon

Flow - Connecting to an External API Using OAuth Authentication

In order for a Flow step to connect to an external HTTP(S) web service that requires authentication via OAuth, the external application will need to be configured to accept connections from Tenjin, and then the OAuth skill within the Tenjin assistant must be set up.

The following steps should therefore be followed to set up the connection:

  1. External Application Configuration
    Before the OAuth Skill can be configured within the Tenjin assistant, the external application must be configured to accept connections from the Tenjin assistant.

    For example, if connecting to Azure AD, an Application Registration must be created within the Azure Portal and a note made of the relevant details such as the configured "Secret" and the 'Application (client) ID' and the 'Directory (tenant) ID', which will then be used when setting up the OAuth skill within Tenjin.

  2. If not yet added, the OAuth Skill should then be added to the Tenjin assistant that needs to use this connection.
  3. Within the OAuth skill, a connection of the correct type (such as Azure AD) must be created, named, and given the information noted when registering the Tenjin within the external API application.
    The name of the connection should be noted as this will be referenced when configuring OAuth within Flow.
Once the OAuth skill is configured, connections can be made to this external system within Flow.
Three key actions are provided in Flow to allow this:
OAuth sign in
HTTP call
OAuth sign out
 
Detailed inline Help on how to set this up, with examples, is available.

 

Share this article

Comments

0 comments

Article is closed for comments.