Skip to main content
Nintex Community Menu Bar
Solved

Workflow REST API BASIC AUTH - How?

  • January 2, 2020
  • 6 replies
  • 258 views

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.

Best answer by khanh1

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. 


 

6 replies

  • January 2, 2020

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


Forum|alt.badge.img+16
  • Answer
  • January 2, 2020

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. 


 


  • Author
  • January 3, 2020

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

 


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

jgdervil
  • April 14, 2021

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


Forum|alt.badge.img+1
  • Novice
  • December 16, 2022

Hi Mike,

Have you solved basic auth with non AD users?

Regards

ilhan