Skip to content

Commit

Permalink
Merge pull request #33007 from vespa-engine/ean/rewrite-sso-enforceme…
Browse files Browse the repository at this point in the history
…nt-message

Be more explicit about SSO requirement
  • Loading branch information
mpolden authored Dec 6, 2024
2 parents 97e99f3 + 27293a7 commit a89fb33
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 a89fb33

Please sign in to comment.