Skip to content

Commit

Permalink
remove prompt login (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
missing1984 authored and kushalmalani committed Mar 22, 2023
1 parent 2b51dd9 commit c8a9a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c8a9a54

Please sign in to comment.