Home > Back-end >  How to pass Authorization Token to my backend service through WSO2 (API Manager) version 4.1.0?
How to pass Authorization Token to my backend service through WSO2 (API Manager) version 4.1.0?

Time:10-18

I need to pass Authorization Token from API Manager (WSO2) to my Backend using policies like Header policy but it works for me only using cURL but not with UI.

curl -k -X 'GET'
'https://localhost:8243/test/1.0.0/support/get/55'
-H 'accept: /'
-H 'Authorization: Bearer gatewayToken
-H 'Authorization: Bearer BackendToken'

enter image description here

Using API policies in API Manager 4.1.0, you can add AddHeader policy and send any static headers to the backend services.

  • Related