Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jwt decode error #1414

Open
pbnoyz opened this issue Oct 10, 2024 · 3 comments
Open

Jwt decode error #1414

pbnoyz opened this issue Oct 10, 2024 · 3 comments

Comments

@pbnoyz
Copy link

pbnoyz commented Oct 10, 2024

Current behavior

When I try to decode a JWT token, devtoys shows an error Unable to process the token payload. But I can decode the same token with another JWT decoder.

How to reproduce it (as minimally and precisely as possible)

No response

Expected behavior

It should decode the token successfully.

Screenshots

No response

Workaround

No response

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 2.0-preview.5

Relevant Assets/Logs

No response

@btiteux
Copy link
Collaborator

btiteux commented Oct 24, 2024

Hello, can you give us more information about the token?

Is the issue on the v1 or v2-preview version of DevToys?

@pbnoyz
Copy link
Author

pbnoyz commented Oct 28, 2024

I'm using 2.0-preview.5 and here is the simplified version of the token

eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJhZG1pbiIsInN1YiI6Iui2hee6p-euoeeQhuWRmCIsInVzZXJUeXBlIjoiMSIsInVzZXJTdGF0dXMiOiIwIiwidXNlckNvZGUiOiJhZG1pbiJ9.oiMUKLnvLJAM1RFX6KEz4K0Spd5VDncIi7tSYuolN1_etQFGIdM8onYniLEwmnT4K0oHnjWdoGY_yHslyYNo-Q

Which also causes an error.

FYI, it's generated by JJWT and includes some Chinese characters.

@btiteux
Copy link
Collaborator

btiteux commented Oct 28, 2024

Thank you for the JWT. I will check what the issue is and fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants