Skip to content

Conversation

@cody3690
Copy link

Slightly modified create_custom_token to use PyJwt as Python_jwt is deprecated

@ouanounou
Copy link

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 on lines 21 to +22
import python_jwt as jwt
from Crypto.PublicKey import RSA
import jwt as jwt
Copy link
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