AzMoo / django-okta-auth

Django Okta Auth is a library that acts as a client for the Okta OpenID Connect provider.
MIT License
30 stars 23 forks source link

PyJWT - version compatibility issues between django-okta-auth 0.8.0 and pulp-container 2.16.6 #37

Open vbnvaidy opened 5 months ago

vbnvaidy commented 5 months ago

Team, I am trying to extend the base version of pulp minimal image from quay.io/pulp/pulp-minimal. I am using this as base image and then building my own image to support OKTA authentication. When I try to install django-okta-auth it finds an incompatible python module PyJWT 2.8 is installed. pip uninstalls this version and installs PyJWT 1.7.1.

django-okta-auth 0.8.0 requires PyJWT<2.0.0,>=1.7.1

But the caveat here is the pulp module requires PyJWT >=2.4. So during my docker build I get an error message with module incompatibility. pulp-container 2.16.6 requires pyjwt[crypto]<2.9,>=2.4, but you have pyjwt 1.7.1 which is incompatible.

Can some one please guide me on how to resolve this error and is there any chance that the django-okta-auth 0.8.0 can work with PyJWT >=2.4 as well.

PJAlley commented 2 months ago

I'm having a similar issue with using this module as well - downgrading pyJWT is not an option because other modules depend on pyJWT to have version 2.3.0.

I am wondering if this module is still in development - there hasn't been a new release since March 2021.