Skip to content

Commit

Permalink
[CLI-3140] Allow multiple onprem SSO login refresh (#2824)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgagniere authored Jun 25, 2024
1 parent d6d70f2 commit 6a1dade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/auth_token_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (a *AuthTokenHandlerImpl) GetConfluentToken(mdsClient *mdsv1.APIClient, cre
if credentials.IsSSO {
if credentials.AuthRefreshToken != "" {
if authToken, err := refreshConfluentToken(mdsClient, credentials); err == nil {
return authToken, "", nil
return authToken, credentials.AuthRefreshToken, nil
}
}

Expand Down

0 comments on commit 6a1dade

Please sign in to comment.