oAuth bearer token prefix
I have a requirement to prefix to the Authorization header.. commonly for authenticating we send :
Bearer={token}
However for this use case i need to send this:
xyz Bearer={token}
How can i accomplish this using OAuth profile in a REST Message?
Posted Sep 21, 2022, 6:14 PM UTC
11
I haven't used oAuth yet but...
Here's what I would do:
Something like this:
So basically you're going to get your auth token first by parsing the response from the getNewToken variable and then store the auth token in a new variable and pass it to your setStringParameterNoEscape.