Skip to main content
Nintex Community Menu Bar

Workflow REST API Authentication K2 5.2

  • January 29, 2020
  • 1 reply
  • 13 views
  • Translate

My app is accessed via ADFS single-sign-on. I have Javascript running on my main menu which previously (K2 4.7) accessed the worklist.sdk to get the current users tasks.

 

Under K2 5.2 we have to move to the Worklist REST API. K2 provide a link to using this (Using the Workflow REST API in JavaScript)  however the example uses hard-coded username and password. 

 

Does anyone know how to pass in the current user's username and password dynamically, i.e. not hard coded in the JS,

and not requiring the user to provide the password again?

 

If this can't be done it means current user can no longer access their tasks dynamically without additional sign-in.

 

Thanks in advance

 

Kevin

Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+15

The REST API only supports Basic and OAuth authentication. I don't think you can do a single sign on. There are some examples here on how to use Basic and OAuth authentication.


 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings