-
Notifications
You must be signed in to change notification settings - Fork 84
Auth not working on newly deployed machines #442
Comments
I faced the same problem. I tried to install it on another server, use different proxy servers and nothing did help. |
I tried to install it from the source and it works! If install by pip it still gets the error. |
@boterfly what version of PyJWT do you have? |
I had the same problem, I and Larry found that
https://github.com/AngellusMortis/django_microsoft_auth/blob/2.4.0/reqs/requirements.in |
pip show PyJWTName: PyJWT |
But I noticed, that in requirment.txt there is no pyjwt, so next time I will try to add it. I think when you install django microsoft auth by pip, it doesn't install all requirements, but when you install from the source it does. |
Also the |
Ok, thanks! |
I found that downgrading pyjwt from 2.0.1 to 1.7.1 fixed this for me. |
I have an app using this package and it's deployed on many EC2 instances at AWS, all working fine, all running:
Starting yesterday any new systems we deploy the auth is failing. We get back
Failed to authenticate you for an unknown reason. Please try again later
. We can see in the azure logs that the login was successful. The application code is the same, and we have the same version of every python package installed, but for some reason on newly built boxes it is failing but older ones it is succeeding. I did notice that for some OS packages the versions are slightly different. Could there be a dependency on one of those? Any suggestions on how to debug this?Below are the package diffs - the higher version numbers are from the system that does not work:
The text was updated successfully, but these errors were encountered: