3 ms·
A huge part of the issue with JWT is that it's often used wrongly. I'm currently in a project where JWT is used. We have a list of searchable items and each on
by Tade0 8y ago
A huge part of the issue with JWT is that it's often used wrongly.
I'm currently in a project where JWT is used. We have a list of searchable items and each one of them holds a gallery of photos - up to 5MB per photo.
The issue at hand is that these photos are served from a certain endpoint which we eventually want to secure, but the back-end's idea here is for the front-end to download the photos via XHR putting the token in the Authorization header - they refuse to send the JWT via cookie saying that it's "incompatible with JWT".