on 11-17-2016 9:44 AM
Dear experts,
I have a requirement where i need to call the REST API using JWT token authentication which needs to be passed in the header of the request. JWT token will expires on every 15 mins. Please provide your thoughts.
Thanks,
Pavan T
Hello Pravan,
In PO 7.31 SP15 / PO 7.4 SP10, REST adapter was enhanced with functionality for setting custom HTTP headers (refer to https://blogs.sap.com/2015/04/14/pi-rest-adapter-define-custom-http-header-elements/ for details and examples). A part which is not available there and which will have to be custom developed (within mapping logic or as a custom adapter module) or purchased from 3rd party, is acquisition of JWT from the authorization server, its parsing and placement of an access token value in dynamic configuration attribute (which value can then be used when setting custom HTTP header using the referred functionality of REST adapter).
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.