Skip to content

Please, add an ES256 example in Usage Examples #989

@oza4h07

Description

@oza4h07

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#

Metadata

Metadata

Assignees

No one assigned

    Labels

    hacktoberfestIssues for first-time contributors

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions