JWTs are an open standard for securely transmitting claims between parties as a JSON object. The claims are encoded in a JWT payload that is digitally signed or integrity protected with a MAC and/or encrypted. JWTs avoid issues with cookies and cross-origin resource sharing by being stateless and transmitting claims in tokens rather than sessions. JWTs handle authentication across devices and services without managing sessions on the server. A JWT contains a base64-encoded header, base64-encoded claims, and base64-encoded signature to securely transmit claims between a browser and server.