forked from TrueCloudLab/rclone
Obtain a refresh token for GCD
This commit is contained in:
parent
be5b8b8dff
commit
c59a292719
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ func Config(id, name string, config *oauth2.Config) error {
|
|||
return err
|
||||
}
|
||||
state := fmt.Sprintf("%x", stateBytes)
|
||||
authURL := config.AuthCodeURL(state)
|
||||
authURL := config.AuthCodeURL(state, oauth2.AccessTypeOffline)
|
||||
|
||||
// Prepare webserver
|
||||
server := authServer{
|
||||
|
|
Loading…
Add table
Reference in a new issue