Skip to content

Commit

Permalink
Merge pull request #449 from Nike-Inc/master
Browse files Browse the repository at this point in the history
Merge from Master
  • Loading branch information
epierce authored Feb 20, 2024
2 parents 15f8420 + b2e1b72 commit 2bae2d0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gimme_aws_creds/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__all__ = ['config', 'aws', 'main', 'ui', 'common', 'default', 'duo', 'errors', 'okta_classic', 'okta_identity_engine', 'registered_authenticators', 'u2f', 'webauthn']
version = '2.7.2'
version = '2.8.0'
3 changes: 2 additions & 1 deletion gimme_aws_creds/duo_universal.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def do_auth(self):
"username": okta_profile_login,
"session": self.session.cookies['sid'],
"device_token": self.session.cookies['DT']
}
},
'sessionToken': self.session.cookies['sid']
},
}

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["setuptools", "setuptools-rust", "gimme_aws_creds"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
from setuptools import setup, find_packages

import gimme_aws_creds

with open('requirements.txt') as f:
requirements = f.read().splitlines()

setup(
name='gimme aws creds',
version=gimme_aws_creds.version,
name='gimme-aws-creds',
version='2.8.0',
install_requires=requirements,
author='Eric Pierce',
author_email='[email protected]',
Expand Down
11 changes: 7 additions & 4 deletions tests/test_duo_universal_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

import requests
import responses
from tests import read_fixture

from gimme_aws_creds.duo_universal import OktaDuoUniversal
from tests import read_fixture
from tests.user_interface_mock import MockUserInterface


Expand Down Expand Up @@ -135,7 +135,8 @@ def test_universal_push(self):
'username': self.OKTA_LOGIN,
'session': self.OKTA_SID_VALUE,
'device_token': self.OKTA_DT_VALUE
}
},
'sessionToken': 'oktasidvalue',
},
}

Expand All @@ -157,7 +158,8 @@ def test_universal_phone_call(self):
'username': self.OKTA_LOGIN,
'session': self.OKTA_SID_VALUE,
'device_token': self.OKTA_DT_VALUE
}
},
'sessionToken': 'oktasidvalue',
},
}

Expand All @@ -180,7 +182,8 @@ def test_universal_passcode(self):
'username': self.OKTA_LOGIN,
'session': self.OKTA_SID_VALUE,
'device_token': self.OKTA_DT_VALUE
}
},
'sessionToken': 'oktasidvalue',
},
}

Expand Down

0 comments on commit 2bae2d0

Please sign in to comment.