mirror of
https://github.com/rclone/rclone.git
synced 2025-04-03 00:29:06 +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
|
return err
|
||||||
}
|
}
|
||||||
state := fmt.Sprintf("%x", stateBytes)
|
state := fmt.Sprintf("%x", stateBytes)
|
||||||
authURL := config.AuthCodeURL(state)
|
authURL := config.AuthCodeURL(state, oauth2.AccessTypeOffline)
|
||||||
|
|
||||||
// Prepare webserver
|
// Prepare webserver
|
||||||
server := authServer{
|
server := authServer{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user