apps-script-oauth2 icon indicating copy to clipboard operation
apps-script-oauth2 copied to clipboard

Device flow

Open 89z opened this issue 4 years ago • 0 comments

It seems currently that native app flow (grant_type=authorization_code) [1] is supported:

https://github.com/googleworkspace/apps-script-oauth2/blob/eebdf7884b019dac5160f6554059bf9537fda1cd/src/Service.js#L404-L410

But not other types, such as device flow (grant_type=urn:ietf:params:oauth:grant-type:device_code) [2].

  1. https://developers.google.com/identity/protocols/oauth2/native-app
  2. https://developers.google.com/identity/sign-in/devices

89z avatar Sep 20 '21 18:09 89z