Forum Discussion
etsygankov
4 years agoFrequent Visitor
Automatic refresh of Access Token doesn't work
I am "emedding for organization" and trying to use the automatic refresh of access token described here by providing eventHooks.accessTokenProvider. Here is the code that does embedding (notice a...
etsygankov
4 years agoFrequent Visitor
The following example from documentation is what I used as a template for writing my function:
Do you know if "return token" is a string or a type? If a type, is there documentation on what that type should be?
Thanks
Anonymous
4 years agoNot applicable
HI etsygankov,
The token should be a variable defined with string type in the function and used to get the token string from API response.
Regards,
Xiaoxin Sheng