Can you provide some more information here? Maybe an example of what a JWT looks like? And what a payload looks like. I'm puzzled by what you mean by sensitive data in the payload.
I am a Full-Stack Developer specialized Front-end Developer. Passionate about algorithms, data structures, and coding challenges & always ready to face new challenges.
I am a Full-Stack Developer specialized Front-end Developer. Passionate about algorithms, data structures, and coding challenges & always ready to face new challenges.
A payload can be any set of data that stores information about the user, for example: {
"sub": "1234567890",
"name": "John Doe",
"admin": true
}, a helpful note I found online about the JWT payload though is for signed tokens, you should never store and sensitive information in the payload OR header elements as they are readable by anyone.
I suppose by sensitive data, they meant user personal info?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can you provide some more information here? Maybe an example of what a JWT looks like? And what a payload looks like. I'm puzzled by what you mean by sensitive data in the payload.
Thanks!
Here you go
thanks.
Thanks for your comment! Apologies, but I’m unable to share more information at the moment. I’ll get back to you as soon as I can.
A payload can be any set of data that stores information about the user, for example: {
"sub": "1234567890",
"name": "John Doe",
"admin": true
}, a helpful note I found online about the JWT payload though is for signed tokens, you should never store and sensitive information in the payload OR header elements as they are readable by anyone.
I suppose by sensitive data, they meant user personal info?