Remove workflow from default OAuth scopes
We now request it conditionally only for "HTTPS" login flow
This commit is contained in:
parent
5a110c8e42
commit
075b6f8aa6
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ func authFlow(oauthHost string, IO *iostreams.IOStreams, notice string, addition
|
|||
httpClient.Transport = api.VerboseLog(IO.ErrOut, logTraffic, IO.ColorEnabled())(httpClient.Transport)
|
||||
}
|
||||
|
||||
minimumScopes := []string{"repo", "read:org", "gist", "workflow"}
|
||||
minimumScopes := []string{"repo", "read:org", "gist"}
|
||||
scopes := append(minimumScopes, additionalScopes...)
|
||||
|
||||
callbackURI := "http://127.0.0.1/callback"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue