olawalejarvis/blog_api_tutorial

Deprecation Warning

Opened this issue · 1 comments

Looking into trying to fix this but wasn't sure if you had already looked at this, nice tutorial btw on this.

api_jwt.py:82: DeprecationWarning: It is strongly recommended that you pass in a value for the "algorithms" argument when calling decode(). This argument will be mandatory in a future version.
    DeprecationWarning

Looks like the decode needs to supply the algorithms but when I do that it seems to break a lot of other stuff.

Looks like if you were to modify https://github.com/olawalejarvis/blog_api_tutorial/blob/develop/src/shared/Authentication.py#L44 and add in algorithms=['HS256'] it will resolve this I'll issue a PR