From d348f4776364134bc76df1658f71e09936b4c10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20C=2E=20M=C3=BCller?= Date: Tue, 2 May 2023 09:28:17 -0400 Subject: [PATCH] Fix typo in error message --- okta/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okta/validator.go b/okta/validator.go index b41cb15fb..2068d7459 100644 --- a/okta/validator.go +++ b/okta/validator.go @@ -69,7 +69,7 @@ func validateAuthorization(c *config) error { c.Okta.Client.AuthorizationMode != "PrivateKey" && c.Okta.Client.AuthorizationMode != "Bearer" && c.Okta.Client.AuthorizationMode != "JWT" { - return errors.New("the AuthorizaitonMode config option must be one of [SSWS, Bearer, PrivateKey, JWT]. You provided the SDK with " + c.Okta.Client.AuthorizationMode) + return errors.New("the AuthorizationMode config option must be one of [SSWS, Bearer, PrivateKey, JWT]. You provided the SDK with " + c.Okta.Client.AuthorizationMode) } if c.Okta.Client.AuthorizationMode == "PrivateKey" &&