Skip to content

Commit 9dc066b

Browse files
Merge pull request #375 from jcmuller/patch-1
Fix typo in error message
2 parents 140485e + d348f47 commit 9dc066b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

okta/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func validateAuthorization(c *config) error {
6969
c.Okta.Client.AuthorizationMode != "PrivateKey" &&
7070
c.Okta.Client.AuthorizationMode != "Bearer" &&
7171
c.Okta.Client.AuthorizationMode != "JWT" {
72-
return errors.New("the AuthorizaitonMode config option must be one of [SSWS, Bearer, PrivateKey, JWT]. You provided the SDK with " + c.Okta.Client.AuthorizationMode)
72+
return errors.New("the AuthorizationMode config option must be one of [SSWS, Bearer, PrivateKey, JWT]. You provided the SDK with " + c.Okta.Client.AuthorizationMode)
7373
}
7474

7575
if c.Okta.Client.AuthorizationMode == "PrivateKey" &&

0 commit comments

Comments
 (0)