Fitbit-for-Google-App-Script icon indicating copy to clipboard operation
Fitbit-for-Google-App-Script copied to clipboard

Question: where is the authorization saved?

Open simonbromberg opened this issue 10 years ago • 2 comments

Just a question: I'm trying to figure out where the authorization is actually saved. I would like to be able to monitor multiple accounts in one document. Is this managed by the Google OAuth library? I guess it tries to access the profile, and once it's authorized the first time, it won't ask for authorization again? Isn't there some access token that has to be saved? How does it remember the account that the spreadsheet is authorized for?

simonbromberg avatar Nov 04 '14 17:11 simonbromberg

It's stored locally in the google system tied to that spreadsheet

There may be a way to 'see it' but I don't know how that would be done.

I do think you can have multiple accounts by using a distinct " oAuthServiceName"

John

On Tue, Nov 4, 2014 at 9:32 AM, Simon Bromberg [email protected] wrote:

Just a question: I'm trying to figure out where the authorization is actually saved. I would like to be able to monitor multiple accounts in one document. Is this managed by the Google OAuth library?

— Reply to this email directly or view it on GitHub https://github.com/loghound/Fitbit-for-Google-App-Script/issues/11.

-John

loghound avatar Nov 05 '14 05:11 loghound

Great, I'll give that a shot, thanks!

simonbromberg avatar Nov 05 '14 05:11 simonbromberg