Python implementation to process the Amazon Cognito ID token and the access token on the server side, as per https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html
Linux
virtualenv env
. env/bin/activate
pip install -e .
Windows
virtualenv env
env\Scripts\activate
pip install -e .
export COGNITO_REGION=(your_cognito_user_pool_region; e.g. ap-southeast-2)
export COGNITO_USER_POOL_ID=(your_user_pool_id)
pip install -r requirements-build.txt
# run the python tests
tox -r
If the library is py2/py3 compatible then remove the bdist_wheel
lines in tox.ini and use this bdist_wheel line in test.sh/test.bat instead
python setup.py bdist_wheel --universal