minor auth refactor, some tidy-up
This commit is contained in:
parent
75534da702
commit
21b7a3926b
3 changed files with 63 additions and 45 deletions
|
|
@ -61,7 +61,7 @@ func GenerateToken(
|
|||
oauth2.AccessTypeOffline,
|
||||
oauth2.S256ChallengeOption(verifier),
|
||||
)
|
||||
fmt.Printf("\nSign in to YouTube: %s\n\n", url)
|
||||
log.Printf("Sign in to YouTube: %s\n\n", url)
|
||||
|
||||
wg.Add(1)
|
||||
if err := server.ListenAndServe(); err != http.ErrServerClosed {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue