Disabling client side rate limiting in Okta login MFA client (#15369)

* disabling client side rate limiting for MFA client

* add changelog
This commit is contained in:
Chris Hoffman 2022-05-12 15:55:33 -04:00 committed by GitHub
parent 6b82692f67
commit 63b31a13f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

3
changelog/15369.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
mfa/okta: disable client side rate limiting causing delays in push notifications
```

View File

@ -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 {