Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58f6bef + 71d3696 commit da4bbe3Copy full SHA for da4bbe3
auth/oauth.go
@@ -47,7 +47,7 @@ func (oa *OAuthFlow) ObtainAccessToken() (accessToken string, err error) {
47
48
q := url.Values{}
49
q.Set("client_id", oa.ClientID)
50
- q.Set("redirect_uri", fmt.Sprintf("http://localhost:%d/callback", port))
+ q.Set("redirect_uri", fmt.Sprintf("http://127.0.0.1:%d/callback", port))
51
// TODO: make scopes configurable
52
q.Set("scope", "repo")
53
q.Set("state", state)
0 commit comments