DEV Community

Discussion on: JWT (JSON Web Token)

Collapse
 
kolja profile image
Kolja

Thanks a lot😃
But i have a question about the payload:
Is the payload part of the JWT?
And is the payload hashed with the token?
So, will the server recognize, if the payload has been changed on the client?

Collapse
 
zoppatorsk profile image
Zoppatorsk

Payload is part of the JWT and anyone can decode it jwt.io, however the client can't change the payload as the server is the only one having the key it was signed with and with that key can verify that the JWT is valid.

Collapse
 
shubhamyadav profile image
Shubham Yadav

right!!👍