best practice recommendation to avoid manual re-update of token in source connection? | Community
Skip to main content
Pradeep-Jaiswal
Level 5
February 12, 2025
Question

best practice recommendation to avoid manual re-update of token in source connection?

  • February 12, 2025
  • 2 replies
  • 682 views

oneTrust token expires within a year in source connection. has anyone tried any automation to pull the new token from OT and update it using AEP API(or other way) to AEP, so that no one has to do it manually if the frequency of token expiry is year or less ? Are there any best practice recommendation to avoid manual re-update of token in source connection?

2 replies

Harveer_SinghGi1
Community Advisor
Community Advisor
February 13, 2025

Hi @pradeep-jaiswal ,

You can update a connection using the AEP's Flow Service API.

Cheers!

Pradeep-Jaiswal
Level 5
February 13, 2025

But what are the best practices to schedule the api call? Corn job on server or use any other utilities? Does AEP app builder provider scheduling options? My question was more about scheduling than the actual API name

Harveer_SinghGi1
Community Advisor
Community Advisor
February 14, 2025

Hi @pradeep-jaiswal ,

You can use either cloud based or on-premise solution where you can host the cron job. About Adobe App Builder I'm not sure as I haven't used it for such purpose but I believe this documentation talks about what you need - https://developer.adobe.com/app-builder/docs/resources/cron-jobs/

Cheers!

kautuk_sahni
Community Manager
Community Manager
February 17, 2025

@pradeep-jaiswal Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Kautuk Sahni