Showing results for 
Search instead for 
Did you mean: 

Can we supply a self generated JWT for CAP to use when calling the external service?

Active Participant
0 Kudos

A destination of type "OAuth SAML Bearer Assertion Authentication" (and others) support the destination property x_user_token.jwks or x_user_token.jwks_uri to validate an incoming JWT that is not created by UAA.

Is there any way to pass a self generated JWT to the external service using CAP?

Former Member

Java or node.js?

In general, have you tried to pass the Bearer Token in the HTTP Header before calling the external service? There is a property "header" in the destination which you can set programatically as far as I know.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Pieter,

Yes, you can. Please see Building Custom Requests with Node.js and srv.send() on how to set custom headers.


Answers (0)