diff --git a/connector/github/github.go b/connector/github/github.go
index 41aaf5893006febd0baee8b41bfe22fb59b08117..e38eb26a13d17420b08de53082485da6b69f18b7 100644
--- a/connector/github/github.go
+++ b/connector/github/github.go
@@ -181,6 +181,7 @@ func (c *githubConnector) oauth2Config(scopes connector.Scopes) *oauth2.Config {
 		ClientSecret: c.clientSecret,
 		Endpoint:     endpoint,
 		Scopes:       githubScopes,
+		RedirectURL:  c.redirectURI,
 	}
 }