Skip to content

Commit

Permalink
fix(auth/oauth): change redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
BugCode1 committed Dec 19, 2022
1 parent fb08fe2 commit 18f934d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 18f934d

Please sign in to comment.