Expand my Community achievements bar.

SOLVED

Dynamic OAuth verification in External API activity

Avatar

Level 2

Hi,

 

we are using External API to fetch the email templates url and subjectline from AEM using AEM exposed REST API service. That service has OAuth token that expires every 24 hours, how can we dynamically generate and pass the Authorization token value from External API acitivity.

 

Thanks!!
Vikash

1 Accepted Solution

Avatar

Correct answer by
Level 2

Until External API activity adds built-in support for OAuth token retrieval, the marketer (or consultant helping the customer) will need to refresh the OAuth token every 24 hours (or other expiry times) and configure those in the workflow activity Execution tab where one can specify any custom Headers to be sent on the API call.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Until External API activity adds built-in support for OAuth token retrieval, the marketer (or consultant helping the customer) will need to refresh the OAuth token every 24 hours (or other expiry times) and configure those in the workflow activity Execution tab where one can specify any custom Headers to be sent on the API call.