From 5f8ce087bf1133907f013bc54146f01a34ed1bc1 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Thu, 4 Nov 2021 08:47:43 -0700 Subject: [PATCH] Minor(UX): Ask for one-time passowrd, not totp (#35) A user hit an issue where the term TOTP during initial setup was not intuitive, resulting in entering the wrong setup information. This should resolve the issue by being explicit about what info we're asking for. --- pkg/okta/factors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/okta/factors.go b/pkg/okta/factors.go index b7c3cf4..68314aa 100644 --- a/pkg/okta/factors.go +++ b/pkg/okta/factors.go @@ -52,7 +52,7 @@ func promptForFactor(factors []*Factor, p input.Prompter) (int, error) { func verifyTOTP(c *Client, f *Factor, a *Auth, p input.Prompter) error { var resp io.Reader for { - totp, err := p.Prompt("Enter TOTP: ") + totp, err := p.Prompt("Enter Okta One-Time Password (TOTP): ") if err != nil { return err }