Passing an oAuth token to a REST resource privately

(Ben Chapman) #1

Matrix Version:

I have a situtation where I need to generate an oAuth token for a REST request. However, I am not able to use an oAuth2 token asset in Matrix to generate the token as it doesn’t fit my needs.

It is easy to set up a REST resource to fetch the token. But then I need to pass this token to the REST resource that will make the request. I can print the token and then retrieve it using %globals_asset_contents:???%, but this exposes the token.

Is there a way to pass the contents of one REST resource to another privately?

(Bart Banda) #2

Related to discussion in Expiring OAuth token