apps-script-oauth2
apps-script-oauth2 copied to clipboard
Device flow
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].
- https://developers.google.com/identity/protocols/oauth2/native-app
- https://developers.google.com/identity/sign-in/devices