diff --git a/src/github.com/matrix-org/go-neb/realms/github/github.go b/src/github.com/matrix-org/go-neb/realms/github/github.go index 30028a2..c96c121 100644 --- a/src/github.com/matrix-org/go-neb/realms/github/github.go +++ b/src/github.com/matrix-org/go-neb/realms/github/github.go @@ -117,6 +117,7 @@ func (r *GithubRealm) RequestAuthSession(userID string, req json.RawMessage) int q.Set("client_secret", r.ClientSecret) q.Set("state", state) q.Set("redirect_uri", r.redirectURL) + q.Set("scope", "admin:repo_hook,admin:org_hook,repo") u.RawQuery = q.Encode() session := &GithubSession{ id: state, // key off the state for redirects