Hi Gay an,

The JWT is generated and signed by the KM and gateway can't modify it. And
the transport headers are not sent to KM by the GW either. Therefore there
is no way to add HTTP headers to the JWT. However, you can send the headers
as headers themselves to the backend.

Thanks,
Bhathiya

On Tue, Jul 3, 2018 at 12:12 PM gayan gunawardana <[email protected]>
wrote:

> Hi APIM team,
>
> Is there a way to put transport headers coming from incoming request into
> JWT [1] generated for backend service ?
>
> [1]
> https://docs.wso2.com/display/AM220/Passing+Enduser+Attributes+to+the+Backend+Using+JWT
>
> Thanks,
> Gayan
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Bhathiya Jayasekara*
*Associate Technical Lead,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to