diff --git a/README.md b/README.md index 46630f6b..d16682ea 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -gdrive +gdrive *(temporary fix 400 invalid request) - read release description for how it work* ====== diff --git a/auth/oauth.go b/auth/oauth.go index bc567385..ff799cee 100644 --- a/auth/oauth.go +++ b/auth/oauth.go @@ -87,7 +87,7 @@ func getConfig(clientId, clientSecret string) *oauth2.Config { ClientID: clientId, ClientSecret: clientSecret, Scopes: []string{"https://www.googleapis.com/auth/drive"}, - RedirectURL: "urn:ietf:wg:oauth:2.0:oob", + RedirectURL: "http://localhost:1", Endpoint: oauth2.Endpoint{ AuthURL: "https://accounts.google.com/o/oauth2/auth", TokenURL: "https://accounts.google.com/o/oauth2/token",