diff --git a/warrant/__init__.py b/warrant/__init__.py index 2a0c2313..cfe197be 100644 --- a/warrant/__init__.py +++ b/warrant/__init__.py @@ -551,7 +551,7 @@ def renew_access_token(self): self._add_secret_hash(auth_params, 'SECRET_HASH') refresh_response = self.client.initiate_auth( ClientId=self.client_id, - AuthFlow='REFRESH_TOKEN', + AuthFlow='REFRESH_TOKEN_AUTH', AuthParameters=auth_params, )