Learn react on railsSort Order

Rails API: JSON Web Token Part 4 - [038]

In this episode we extract the user_id from the payload from a request that uses our JWT. We then use the payload to find the user in the database so it can be used as 'current_user'