Skip to content

body vs parsedBody #7

Closed
Closed
@jmls

Description

@jmls

After I verify a token, I want to look at the token payload.

I have seen both body and parsedBody returned on the verified object - why are there two differences ?

 header: JwtHeader { typ: 'JWT', alg: 'HS256' },
  body: 
   JwtBody {

and

 parsedHeader: JwtHeader { typ: 'JWT', alg: 'HS256' },
  parsedBody: 
   JwtBody {

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