Skip to main content

Hi there,

 

I can use my AD account to make calls to the Workflow REST API with no issues.

 

However, can I use a non AD username and password as in BASIC AUTH?

 

Where do I setup the BASIC AUTH username and password ? I can't see anywhere in the management tools to set this up. 

 

Cheers,

 

Mike.

Hi Modmike,


 


Perhaps you will find this documentation below to be helpful in answering your question.  There is an example of Basic Authentication within:


 


https://help.k2.com/onlinehelp/K2Five/DevRef/5.3/default.htm#Runtime/WF-REST-API/WF-REST-API-Authentication.htm


 


Thanks


Hi Modmike,


 


I believe you will have to pass in an AD account (ex Domainaccount_name) when going through Basic Authentication, I'm not sure if this will with non-standard account. 


 


Hi Chruff,

Your reply is somewhat helpful!

However I think you're referring to Azure AAD with this? - 

//Client ID of the custom client app requesting the token (the app should have the K2 API permission scope). 

 

I've no idea how to set the "K2 API permission scope" or register my calling app, which is a Web Api.

 

Regards,

 

Mike

 


Hi, thanks. I'm beginning to think that a static account with a password cannot be used.
Mike

what format did you use for the username? "DomainAccount" or something different??


Hi Mike,

Have you solved basic auth with non AD users?

Regards

ilhan


Reply