humanitec / django-oauth-toolkit-jwt

django-oauth-toolkit extension that adds JWT support
MIT License
38 stars 26 forks source link

fixes #12 (make JWS-Algorithms configurable) #24

Closed TM2500 closed 4 years ago

TM2500 commented 4 years ago

With this PR the used JWS-Algorithm can be configured. Changes in the settings.py are documented in the README also key-generation for the different suites are described.

Please contact me if something is unclear. The test are a bit hacked together, but yield only decrepation-warnings

Closes #12

TM2500 commented 4 years ago

I honestly have no idea why travis-ci fails; If you run tox in the dot_jwt_36 docker-container it passes -.-

ralfzen commented 4 years ago

I honestly have no idea why travis-ci fails; If you run tox in the dot_jwt_36 docker-container it passes -.-

There is a version conflict.

pkg_resources.ContextualVersionConflict: (Django 1.11.28 (/home/travis/build/Humanitec/django-oauth-toolkit-jwt/.tox/py36-django111/lib/python3.6/site-packages), Requirement.parse('django>=2.0'), {'django-oauth-toolkit'})
293ERROR: InvocationError for command /home/travis/build/Humanitec/django-oauth-toolkit-jwt/.tox/py36-django111/bin/pytest (exited with code 1)
ralfzen commented 4 years ago

Only the git history should be cleaned up.

git rebase -i head~22

and squash them into one or two commits.

ralfzen commented 4 years ago

well done