The custom extension is included in K2 Five (5.2) and K2 Cloud Update 6 or later, so there is no need
to install the custom OAuth extension if you have a versionthat includes it.
UiPath API Swagger Definition
UiPath Orchestrator Tenant
Prerequisites include:
K2 Administrator privileges to configure a new service instance and OAuth resource
A familiarity with UiPath Orchestrator and Studio
Dedicated Orchestrator account for use with K2.
In addition to the above requirements, you must have abasic understanding of REST-based
web services, Swagger (OpenAPI), and Visual Basic (in UiPath Studio).
Setting up K2 to handle UiPath's API
Requirements
The OAuth flow that allows you to call the UiPath APIs requires a custom OAuth extension to
get a valid authorization token due to the way in which UiPath implements their authorization.
UiPath requires that you specify your tenancy name, user name, and password as part of the
body of the request to their API. This is different than the user-based OAuth consent flow that
K2 handles out-of-the-box.
Step 1: Install the UiPath OAuth Extension
Extract the contents of the download available with this article and locate the
SoureCode.Security.OAuth.Extensions.UiPath.dll. Copy it to the following location on your K2
Five server:
<install drive>:\Program Files or Program Files (x86)\K2\Host Server\Bin\OAuth\Extensions
After copying the extension to the folder, restart the K2 server.
This extension is automatically installed with K2 Five (5.2) and later.
NoteNote
评论0
最新资源