Sometimes servers will also support the NONE signature type, which indicates that no signing is used (so the JWT is then just $HEADER.$PAYLOAD.
— note the trailing dot!). If the server allows the NONE signing method, then it’s often possible to just arbitrarily edit the $PAYLOAD
to gain access to other users.
The base64-encoded version of {"typ":"JWT","alg":"none"}
is eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0
.