Please refer to our StackOverflow tag for guidance.
Documentation in [1] includes an Encoding and Decoding Tokens with HS256 or RS256.
Those are perfect to get started using PyJWT.
Could it be possible to add a similar example using ES256, including private/public keys examples ?
Ideally, you'll just have to copy-paste this example in a file to get working example of encoding and decoding with ES256.
This could be very valuable for complete beginners who may have a weak confidence about the way they generated private or public keys.
Please refer to our StackOverflow tag for guidance. Documentation in [1] includes an Encoding and Decoding Tokens with HS256 or RS256. Those are perfect to get started using PyJWT.
Could it be possible to add a similar example using ES256, including private/public keys examples ? Ideally, you'll just have to copy-paste this example in a file to get working example of encoding and decoding with ES256.
This could be very valuable for complete beginners who may have a weak confidence about the way they generated private or public keys.
[1] https://pyjwt.readthedocs.io/en/latest/usage.html#