Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Dynamic OAuth verification in External API activity

vikashg34827223
Level 2
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
srjoshi
Correct answer by
Level 2
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
srjoshi
Correct answer by
Level 2
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