Login Serializer
Learn how to create a serializer for logging in users.
We'll cover the following...
There are three steps for logging in a user using Simple JWT:
- Implementing the serializer
- Implementing the view
- Implementing the endpoint
This lesson focuses on implementing the serializer.
Building the login serializer
The login serializer ships and validates all the necessary data to log in a user. This means it takes the email
and password
submitted by a user during login, validates them, and then serializes them. During ...