We have a situation where users are logged into both work and personal accounts and do not want to log out of their personal accounts to use our add on.
How can we force the ScriptApp.getOAuthToken()
call to use the work account instead of the personal account?
Below you can see I am logged in as a work account on the icognition.cloud domain, yet the App Script attempts to authorize as my personal account.