From c8a9a547e875f35b2dbb0bd718e6c850aa4f7c52 Mon Sep 17 00:00:00 2001 From: Michael Luo Date: Wed, 22 Mar 2023 10:31:33 -0700 Subject: [PATCH] remove prompt login (#1117) --- cloud/auth/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/auth/auth.go b/cloud/auth/auth.go index 6cf68c98d..0d85d7149 100644 --- a/cloud/auth/auth.go +++ b/cloud/auth/auth.go @@ -224,7 +224,7 @@ func (a *Authenticator) authDeviceLogin(c config.Context, authConfig astro.AuthC var res Result authorizeURL := fmt.Sprintf( - "%sauthorize?prompt=login&audience=%s&client_id=%s&redirect_uri=%s&login_hint=%s&scope=openid profile email offline_access&response_type=code&response_mode=query&code_challenge=%s&code_challenge_method=S256", + "%sauthorize?audience=%s&client_id=%s&redirect_uri=%s&login_hint=%s&scope=openid profile email offline_access&response_type=code&response_mode=query&code_challenge=%s&code_challenge_method=S256", authConfig.DomainURL, authConfig.Audience, authConfig.ClientID,