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:
parent
6b82692f67
commit
63b31a13f9
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
mfa/okta: disable client side rate limiting causing delays in push notifications
|
||||||
|
```
|
|
@ -1825,6 +1825,8 @@ func (c *Core) validateOkta(ctx context.Context, mConfig *mfa.Config, username s
|
||||||
} else {
|
} else {
|
||||||
client = okta.NewClient(cleanhttp.DefaultClient(), oktaConfig.OrgName, oktaConfig.APIToken, oktaConfig.Production)
|
client = okta.NewClient(cleanhttp.DefaultClient(), oktaConfig.OrgName, oktaConfig.APIToken, oktaConfig.Production)
|
||||||
}
|
}
|
||||||
|
// Disable client side rate limiting
|
||||||
|
client.RateRemainingFloor = 0
|
||||||
|
|
||||||
var filterOpts *okta.UserListFilterOptions
|
var filterOpts *okta.UserListFilterOptions
|
||||||
if oktaConfig.PrimaryEmail {
|
if oktaConfig.PrimaryEmail {
|
||||||
|
|
Loading…
Reference in New Issue