Sandbox TBA token reset

I read when you refresh your sandbox the tokens for TBA auth need to be reset and updated for integrations. We have dedicated DEV environments calling restlets and such.

“The Token Key and Token Secret are deleted in your primary sandbox account after each sandbox refresh, and you must regenerate them on your primary sandbox account. This has no impact on the Token Key and Token Secret used in your production account.”


Is there a helpful article or has anyone figured out a way to automate the process.

I was thinking of a suitelet that checks the enviroment

var runtimeEnv = JSON.stringify(runtime.envType);

then creates the tokens again programmatically then calls our central webservice to update tokens.

Any help would be appreciated.
Rookie Asked on May 26, 2021 in Best Practices.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor