Initial commit, pt. 71

This commit is contained in:
Dmitrii Okunev
2024-08-04 21:34:47 +01:00
parent 2750bd7c06
commit 784b1e854f
30 changed files with 2628 additions and 1884 deletions

View File

@@ -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