This commit is contained in:
Livio Amstutz 2021-09-27 11:57:14 +02:00
parent b60f1ed7a8
commit 251c476e17
4 changed files with 23 additions and 21 deletions

View file

@ -43,7 +43,7 @@ func main() {
state := func() string {
return uuid.New().String()
}
token := cli.CodeFlow(relyingParty, callbackPath, port, state)
token := cli.CodeFlow(ctx, relyingParty, callbackPath, port, state)
client := github.NewClient(relyingParty.OAuthConfig().Client(ctx, token.Token))