Skip to content

Commit e4ce779

Browse files
authored
Merge pull request #73 from datum-cloud/fix/force-account-switcher
fix: force the account switcher
2 parents 68161a7 + 51858c9 commit e4ce779

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/cmd/auth/login.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ func runLoginFlow(ctx context.Context, authHostname string, apiHostname string,
154154
authURL := conf.AuthCodeURL(state,
155155
oauth2.SetAuthURLParam("code_challenge", codeChallenge),
156156
oauth2.SetAuthURLParam("code_challenge_method", "S256"),
157+
oauth2.SetAuthURLParam("prompt", "select_account"),
157158
)
158159

159160
// Channel to receive the authorization code

0 commit comments

Comments
 (0)