How are you guys handling refresh tokens from 3rd ...
# suitescript
m
How are you guys handling refresh tokens from 3rd party APIs? Storing in a Custom Record in NS?
b
your choices are either a script parameter or a custom record
the extra serious option is using either in combination with a credential field
m
Thanks! I will try that
b
if you are not programmatically getting the refresh token, the new secrets management is easier to use than a credential field
m
so create an Access Token secret and a Refresh Token secret? If the Access Token fails use the Refresh and update the Access Token secret?
b
depends how much work you want to put in it
and how long the access token lasts
and if you really feel the need to protect the access token
using secrets or credential fields is not convenient
m
Roger that. Not terribly sensitive, so I think I'll start with the custom record route. Thanks again!