How to pass basic auth from a Zendesk URL trigger in the Request Header when it calls my service
RespondidaI have a Zendesk trigger set up which calls a web service URL that points to my server. The URL is configure as a POST request and the URL looks something like this...
http://myserver/api?title={{ticket.title}}&description={{ticket.description}}
However, we would like to use username/token/apikey based Basic Auth on our server and configure the Zenddesk trigger to provide that api key/username when it triggers a call to our service just as a security measure. How can I configure the Zendesk trigger/extension to provide a username/apikey in the Request Header (and not as key/value forms collection) when it calls into our service.
Thanks
-
Hi James!
You can set a username and password to use for your web service in the "Basic Authentication" section of the Target configuration for that service in Zendesk.
If you've already got a Target set up for the service, simply edit it to include your credentials. Otherwise, those fields will be available when you create a new Target.
Hope this helps!
Publicação fechada para comentários.
1 Comentários