Skip to content

Commit

Permalink
Be more explicit about SSO requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Eirik Nygaard committed Dec 6, 2024
1 parent 97e99f3 commit 27293a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/go/internal/cli/cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ This command runs a browser-based authentication flow for the Vespa Cloud contro
if err != nil {
switch err.Error() {
case "600":
return errHint(fmt.Errorf("Unable to login through social channels"),
"Your organization does not allow logging in through our social channels",
"Please login by entering your address into the email field")
return errHint(fmt.Errorf("Your organization require SSO for Vespa Cloud access"),
"Please login by entering your email in the email address field")
default:
return fmt.Errorf("login error: %w", err)
}
Expand Down

0 comments on commit 27293a7

Please sign in to comment.