diff --git a/gcal/client.go b/gcal/client.go index f352ea33..73bab1f9 100644 --- a/gcal/client.go +++ b/gcal/client.go @@ -142,7 +142,7 @@ func authenticate() { func getTokenFromWeb(config *oauth2.Config) *oauth2.Token { authURL := config.AuthCodeURL("state-token", oauth2.AccessTypeOffline) fmt.Printf("Go to the following link in your browser then type the "+ - "authorization code: \n%v\n", authURL) + "authorization code: \n%v (press 'return' before inserting the code)", authURL) var code string if _, err := fmt.Scan(&code); err != nil {