mirror of
https://github.com/rclone/rclone.git
synced 2025-03-14 08:25:15 +08:00
Obtain a refresh token for GCD
This commit is contained in:
parent
be5b8b8dff
commit
c59a292719
@ -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…
x
Reference in New Issue
Block a user