google-api-nodejs-client icon indicating copy to clipboard operation
google-api-nodejs-client copied to clipboard

Update token with new scope

Open guylissak opened this issue 4 years ago • 4 comments

Hi, is it possible to generate new authUrl that will define new scope and will update an existing token? in other words, I have a use case where i want my client to first connect his email and approve scope x, then in another product i want him to approve scope y, but instead of handle 2 different tokens i want that when the client approves the 2nd scope the token will be updated.

guylissak avatar Aug 04 '21 16:08 guylissak

I don't believe that's possible.

SurferJeffAtGoogle avatar Aug 04 '21 18:08 SurferJeffAtGoogle

Thanks for your answer, how about incremental authorization? isn't that exactly the use case? @SurferJeffAtGoogle

guylissak avatar Sep 13 '21 08:09 guylissak

@guylissak Sorry for the late reply. Could you point me to a doc describing "incremental authorization"?

SurferJeffAtGoogle avatar Apr 19 '22 23:04 SurferJeffAtGoogle

@bcoe Please re-assign to someone on the JS team.

SurferJeffAtGoogle avatar Jul 22 '22 18:07 SurferJeffAtGoogle