mirror of
https://github.com/rclone/rclone.git
synced 2025-08-12 15:07:24 +02:00
Obtain a refresh token for GCD
This commit is contained in:
committed by
Nick Craig-Wood
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{
|
||||
|
Reference in New Issue
Block a user