device flow

This commit is contained in:
M Hickford
2022-11-14 09:11:52 +00:00
parent ac6658e9cb
commit 9a126d7b53
6 changed files with 295 additions and 9 deletions

View File

@@ -23,6 +23,7 @@ import (
var Endpoint = oauth2.Endpoint{
AuthURL: "https://accounts.google.com/o/oauth2/auth",
TokenURL: "https://oauth2.googleapis.com/token",
DeviceAuthURL: "https://oauth2.googleapis.com/device/code",
AuthStyle: oauth2.AuthStyleInParams,
}