Skip to content

Commit

Permalink
Disabling client side rate limiting in Okta login MFA client (#15369)
Browse files Browse the repository at this point in the history
* disabling client side rate limiting for MFA client

* add changelog
  • Loading branch information
chrishoffman authored May 12, 2022
1 parent 1ed02fc commit 7aaa70c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/15369.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
mfa/okta: disable client side rate limiting causing delays in push notifications
```
2 changes: 2 additions & 0 deletions vault/login_mfa.go
Original file line number Diff line number Diff line change
Expand Up @@ -1825,6 +1825,8 @@ func (c *Core) validateOkta(ctx context.Context, mConfig *mfa.Config, username s
} else {
client = okta.NewClient(cleanhttp.DefaultClient(), oktaConfig.OrgName, oktaConfig.APIToken, oktaConfig.Production)
}
// Disable client side rate limiting
client.RateRemainingFloor = 0

var filterOpts *okta.UserListFilterOptions
if oktaConfig.PrimaryEmail {
Expand Down

0 comments on commit 7aaa70c

Please sign in to comment.