AngellusMortis / django_microsoft_auth

Simple app to enable Microsoft Account, Office 365 and Xbox Live authentcation as a Django authentcation backend.
MIT License
137 stars 84 forks source link

Typo in arguments to jwt.decode #431

Closed georgethomasuk closed 3 years ago

georgethomasuk commented 3 years ago

We have been seeing the following error crop up when using this package:

could verify id_token sig: It is required that you pass in a value for the "algorithms" argument when calling decode().

It appears that there is a typo in the argument to jwt.decode on line 154 of client.py.

I have prepped a PR to fix the issue, which I will link in a minute.

ricardoedo commented 3 years ago

Seeing the same issue

emb-karan commented 3 years ago

Please go through this fix, if anyone also getting this error fix

rosscreighton commented 3 years ago

@AngellusMortis thanks for the fix! Is there a release coming soon so we can install via PyPi?