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

Update return type for jwt.encode #521

Merged
merged 1 commit into from
Oct 15, 2020
Merged

Commits on Oct 1, 2020

  1. Update return type for jwt.encode

    It seems to me that the return type for the encode method is actually 'bytes' type and not 'str'. While this doesn't make a huge difference working with python code, it gave me some issues yesterday when sending JWT tokens between a Python (flask) REST API and Javascript (Vue) frontend.
    moomoolive authored Oct 1, 2020
    Configuration menu
    Copy the full SHA
    50e0404 View commit details
    Browse the repository at this point in the history