Resolve client authentication issue in daemon mode (#1181)

This commit is contained in:
Bethuel Mmbaga
2023-09-28 15:02:37 +03:00
committed by GitHub
parent 830dee1771
commit 1956ca169e
8 changed files with 164 additions and 147 deletions

View File

@@ -193,7 +193,7 @@ func (a *Auth) login(urlOpener URLOpener) error {
}
func (a *Auth) foregroundGetTokenInfo(urlOpener URLOpener) (*auth.TokenInfo, error) {
oAuthFlow, err := auth.NewOAuthFlow(a.ctx, a.config)
oAuthFlow, err := auth.NewOAuthFlow(a.ctx, a.config, false)
if err != nil {
return nil, err
}