I can access the Rest API with Basic Authentication using the K2 admin account. Our intention is to replace the dependency on SourceCode.Workflow.Client API with Rest API. In order to do this we must be able to access the Rest API using a custom security provider (as we have a custom security provider for handling users and groups).
For SourceCode.Workflow.Client API, a connection is set like this:
builder.SecurityLabelName = //the name of our custom security label
builder.UserID = //user name to be authenticated
builder.Password = //password for the user to be authenticated
We need some way of doing this using Rest API. Is it possible to select which security label to use for Basic Authentication (with Rest API)? Or does this require Oauth authentication? I've seen examples using Azure active directory but at the moment we don't have that, is there any other way (that does not require Azure)? The call is made from an external application (we are not using Sharepoint).