Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify that buffer/string payloads must be JSON (#442)
It does kinda go without saying that JWTs (_JSON_ Web Tokens) need to contain JSON but it's worth mentioning that signing doesn't check your payload. In some unit tests I was writing where the payload was a dummy (non-JSON parsable) string, JWTs were being signed okay but they're not valid according to the spec.
- Loading branch information