SET X-AUTH-TOKEN in WSO2 ESB

335 Views Asked by At

We need to set the http header property X-Auth-Token in ESB before sending it to endpoint. The endpoint authenticates this token.

When we X-Auth-Token in header property it's not working.

Can you suggest the way to set the X-Auth-Token property in http header in WSO2

1

There are 1 best solutions below

0
ycr On

You use the following config to do this. Make sure the scope is set to transport.

<property name="X-Auth-Token" scope="transport" value="XXXXX" />