warrant
warrant copied to clipboard
Python library for using AWS Cognito. With support for SRP.
I configured Cognito to use the custom website that AWS Cognito provides for signup/signin as specified here: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-ui-customization.html I am perfectly able to signup and login within the AWS Cognito...
Found this library and it has been helpful. I noticed I had to do a little bit of custom code to get it working with SOFTWARE_TOKEN_MFA. Here is the code...
ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py) should be fixed with python-jose==3.3.0 ImportError verified in Python 3.10 (probably also in 3.9)
pip install warrant ERROR: Command errored out with exit status 1: 'C:\Python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pane\\AppData\\Local\\Temp\\pycharm-packaging\\pycryptodome\\setup.py'"'"'; __file__='"'"'C:\\Users\\pane\\AppData\\Local\\Temp\\pycharm-packaging\\pycryptodome\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\pane\AppData\Local\Temp\pip-record-uojqqv1k\install-record.txt'...
Hi there, first of all, thanks for a great library and apologies if this exists already, haven't been able to find it. Is it possible to get the groups assigned...
Version 0.6.1 of this library has a dependency on pycryptodome (from 3.3.1 to 3.4.0). Versions of pycryptodome under 3.6.6 are associated with [CVE-2018-15560](https://github.com/advisories/GHSA-hgg3-g7gr-66r7). Version 0.6.1 seems to have been the...
I've occasionally seen Cognito return a negative hex number for the `ChallengeParameters.SALT` value, which causes `warrant` to crash: ```python Traceback (most recent call last): File "cogtest.py", line 5, in cog.authenticate('password')...
The old `0.6.1` release from 2017 spits warnings due to old Python 2.x `import` syntax. There are [at least] two ways to fix this: either... 1. Update to Warrant to...
Align flow to official java SDK See: https://github.com/aws/aws-sdk-android/blob/master/aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/mobileconnectors/cognitoidentityprovider/CognitoUser.java#L2914 ff Fixes https://github.com/capless/warrant/issues/125
https://travis-ci.org/github/capless/warrant/jobs/725106692