How to pass the "Authorization" header to the backend service

Hi Team,

We found that after API gateway validate the bearer token in the Authorization header, it will remove the header and visit the native endpoint without the Authorization header.

Is there any configuration that we can keep the “Authorization” header when visiting the native endpoint?

Thanks & Regards,
Jason

Hi Jason,

You can configure the Outbound Auth-Transport policy (Routing stage) and configure it to send the incoming oauth/jwt tokens to the native server.

Provided screenshots below.

Regards,
Vallab

1 Like

Thanks Vallab. It can work now.

1 Like