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
|
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…
Add table
Add a link
Reference in a new issue