diff --git a/gimme_aws_creds/main.py b/gimme_aws_creds/main.py index 069e7c0c..600e783d 100644 --- a/gimme_aws_creds/main.py +++ b/gimme_aws_creds/main.py @@ -579,7 +579,7 @@ def set_auth_session(self, auth_session): def auth_session(self): if 'auth_session' in self._cache: return self._cache['auth_session'] - auth_result = self.okta.auth_session() + auth_result = self.okta.auth_session(redirect_uri=self.conf_dict.get('app_url')) self.set_auth_session(auth_result) return auth_result