Add a TODO to make scopes configurable
This commit is contained in:
parent
bbeb558fce
commit
d6a437a93c
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ func (oa *OAuthFlow) ObtainAccessToken() (accessToken string, err error) {
|
|||
q := url.Values{}
|
||||
q.Set("client_id", oa.ClientID)
|
||||
q.Set("redirect_uri", fmt.Sprintf("http://localhost:%d/callback", port))
|
||||
// TODO: make scopes configurable
|
||||
q.Set("scope", "repo")
|
||||
q.Set("state", state)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue