mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-15 03:50:55 +08:00
Initial commit, pt. 71
This commit is contained in:
@@ -36,6 +36,7 @@ func OAuth2HandlerViaCLI(ctx context.Context, arg OAuthHandlerArgument) error {
|
||||
func OAuth2HandlerViaBrowser(ctx context.Context, arg OAuthHandlerArgument) error {
|
||||
ctx, cancelFn := context.WithCancel(ctx)
|
||||
defer cancelFn()
|
||||
|
||||
codeCh, _, err := NewCodeReceiver(ctx, arg.ListenPort)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user