hypothesis / lms

LTI app for integrating with learning management systems
BSD 2-Clause "Simplified" License
46 stars 14 forks source link

Remove usage of python-jose and settle on PyJWT #3922

Open marcospri opened 2 years ago

marcospri commented 2 years ago

To manage JWKs we introduced jose alongside pyjwt. That's two libraries with very similar features.

We'll settle on jose as it has some features we need and it's based on pyjwt anyway so the APIs are very similar.

A rough plan to migrate would be:

lms/services/grant_token.py lms/extensions/feature_flags/_helpers.py tests/functional/lti_certification/v13/conftest.py

marcospri commented 5 months ago

We'll actually do the opposite, remove python-jose and settle on PyJWT as the latter seems to receive more maintenance.

marcospri commented 5 months ago

In h-vialib will replace usage of python-jose for authlib, see: https://github.com/hypothesis/h-vialib/pull/67