Skip to content

Commit

Permalink
Merge pull request #375 from jcmuller/patch-1
Browse files Browse the repository at this point in the history
Fix typo in error message
  • Loading branch information
duytiennguyen-okta authored Oct 30, 2023
2 parents 140485e + d348f47 commit 9dc066b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okta/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" &&
Expand Down

0 comments on commit 9dc066b

Please sign in to comment.