Skip to content

Encode output with extra quote #469

@vincentlkl

Description

@vincentlkl

payload = "test"
token = JWT.encode payload, rsa_private_key, 'RS256'

when I paste the token to
https://dinochiesa.github.io/jwt/
I am getting
"test"

It cannot decode it to as a raw text
test
** without the double quote

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions