Skip to content

Updated to use PyJwt as Python_jwt is deprecated#80

Open
cody-codepiercer wants to merge 2 commits intonhorvath:masterfrom
cody-codepiercer:master
Open

Updated to use PyJwt as Python_jwt is deprecated#80
cody-codepiercer wants to merge 2 commits intonhorvath:masterfrom
cody-codepiercer:master

Conversation

@cody-codepiercer
Copy link
Copy Markdown

Slightly modified create_custom_token to use PyJwt as Python_jwt is deprecated

@ouanounou
Copy link
Copy Markdown

ouanounou commented Sep 18, 2024

+1, would love to see it in the next version!
I think this also allows to remove the pycryptodome dependency

Comment thread pyrebase/pyrebase.py
Comment on lines 21 to +22
import python_jwt as jwt
from Crypto.PublicKey import RSA
import jwt as jwt
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like you're importing 2 things as jwt. that doesn't seem right.

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

Successfully merging this pull request may close these issues.

3 participants