diff --git a/gimme_aws_creds/okta.py b/gimme_aws_creds/okta.py index d16f68bf..69270e80 100644 --- a/gimme_aws_creds/okta.py +++ b/gimme_aws_creds/okta.py @@ -80,7 +80,7 @@ def __init__(self, gac_ui, okta_org_url, verify_ssl_certs=True, device_token=Non self.device_token = device_token retries = Retry(total=5, backoff_factor=1, - method_whitelist=['GET', 'POST']) + allowed_methods=['GET', 'POST']) self._http_client.mount('https://', HTTPAdapter(max_retries=retries)) @property