A
A
Andrey Rudakov2022-01-21 12:35:32
JSON Web Token
Andrey Rudakov, 2022-01-21 12:35:32

Is it possible to change the payload in a JWT?

Greetings.
A jwt access token arrived at the client, say with a username: "Akram" field.
Is it possible to change this name on the client in this token and send with another name?
Or will it not pass validation after the change?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dostoevskiy54, 2022-01-21
@DEMETRA-WORK

If you just overwrite the name, then validation will not pass. If you overwrite the name + control hash (in fact, the entire token), then there should be no problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question