Login and password in variables


Badge +3

Hi all,

On a 2013 on premise, I need to deal with a LOB system via SOAP or REST calls.

  • The first call is to get a token
  • the following calls have to use basic auth with a predefined login and the token as password.

But how can I pass these as variables :

Thanks


6 replies

Userlevel 5
Badge +14

have a look on this blog

 

Badge +3

Thanks Marian,

but all examples from Caroline Jung‌ use identity stored in a Nintex constant.

Regards

Userlevel 5
Badge +14

the following calls have to use basic auth with a predefined login and the token as password.

token (digest) is not being used in place of password.

you have to provide user credentials to authenticate against remote host (either manually typed in or from stred credentials).

request token (digest) is being sent as an additional header attribute.

see chapter 'How to execute a POST request' in linked blog.

Badge +3

Unfortunately, this is not the way the LOB system works. It is a homemade development.

Userlevel 5
Badge +14

then I affraid nintex workflow action(s) doesn't support this kind of authentication.

maybe if it would be an option for you to move functionality to forms, web request form control seems to support basic authentication

https://help.nintex.com/en-US/nintex2013/help/#Forms/RootCategory/Controls/Nintex.Forms.Controls.WebRequest.htm%3FTocPat… 

Badge +3

Hi Marian

Forms was my first choice but CORS kills me.

Reply