How to define Basic Auth in survey flow Web Service | XM Community
Solved

How to define Basic Auth in survey flow Web Service

  • 17 February 2021
  • 1 reply
  • 88 views

Userlevel 3
Badge +11

Dear all,

I am wondering how to pass username and password of basic authentication for web service call. I used to pass api token in the custom header but could not find a proper param to pass the basic authentication username and password within the web service.

does anyone have an idea??

icon

Best answer by Muqaibil 24 February 2021, 22:50

View original

1 reply

Userlevel 3
Badge +11

Just for the others

I found the solution by passing the Authorization parameter in the header associated with the Base64 encoded of username and password as "username:password" and paste it as "Basic {Base64 encoded basic Auth}
to get the Base64 encoded token, you may use any converter tool passing the format (username:password) and encode it. there will be a long token generated which can be passed in the web service as same as the API tokens
final look of header will be:
Authorization = Basic "Base64 encoded "
Thanks..

Leave a Reply