Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation Warning #4

Open
btotharye opened this issue Nov 5, 2018 · 1 comment
Open

Deprecation Warning #4

btotharye opened this issue Nov 5, 2018 · 1 comment

Comments

@btotharye
Copy link

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.

@btotharye
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant