Though many of the concepts in this course are still relevant, overall this course does not reflect our current course standards.

Check out a free preview of the full Secure Authentication for Web Apps & APIs Using JWTs course:
The "Payload Best Practices" Lesson is part of the full, Secure Authentication for Web Apps & APIs Using JWTs course featured in this preview video. Here's what you'd learn in this lesson:

It’s a best practice to keep the payload small since it is sent to the server with each request. The payload should also be free of sensitive information since it can be easily decoded. In the case where a large amount of user data is needed, it’s best to create a separate endpoint.

Get Unlimited Access Now