Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Read the payload written by withPayload #725

@bmaehr

Description

@bmaehr

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

Hello,

When buliding a JWT you can set a payload with JWT.create().withPayload(payload).

But when decoding the JWT you don't have access to this payload. You are just able to get the payload Base64 encoded.

Describe the ideal solution

Maybe give access to JWTDecoder.payloadJson. The problem is the incosistent design of the methods.

Alternatives and current workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature has been asked for or suggested by the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions