Modmike
Novice

Workflow REST API BASIC AUTH - How?

Jump to solution

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.

0 Kudos
Reply
5 Replies
chruff1
Apprentice

Re: Workflow REST API BASIC AUTH - How?

Jump to solution

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-Authent...


 


Thanks

0 Kudos
Reply
khanh1
Apprentice

Re: Workflow REST API BASIC AUTH - How?

Jump to solution

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. 


 

0 Kudos
Reply
Modmike
Novice

Re: Workflow REST API BASIC AUTH - How?

Jump to solution

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

 

0 Kudos
Reply
Modmike
Novice

Re: Workflow REST API BASIC AUTH - How?

Jump to solution
Hi, thanks. I'm beginning to think that a static account with a password cannot be used.
Mike
0 Kudos
Reply
jgdervil
Novice

Re: Workflow REST API BASIC AUTH - How?

Jump to solution

what format did you use for the username? "Domain\Account" or something different??

0 Kudos
Reply