X Tutup
Skip to content

Commit 075b6f8

Browse files
committed
Remove workflow from default OAuth scopes
We now request it conditionally only for "HTTPS" login flow
1 parent 5a110c8 commit 075b6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/authflow/flow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func authFlow(oauthHost string, IO *iostreams.IOStreams, notice string, addition
6969
httpClient.Transport = api.VerboseLog(IO.ErrOut, logTraffic, IO.ColorEnabled())(httpClient.Transport)
7070
}
7171

72-
minimumScopes := []string{"repo", "read:org", "gist", "workflow"}
72+
minimumScopes := []string{"repo", "read:org", "gist"}
7373
scopes := append(minimumScopes, additionalScopes...)
7474

7575
callbackURI := "http://127.0.0.1/callback"

0 commit comments

Comments
 (0)
X Tutup