How to add JWT authorization with Auth0 to a serverless API

Link to chapter — https://serverless-stack.com/examples/how-to-add-jwt-authorization-with-auth0-to-a-serverless-api.html

How can I retrieve the user object from auth0 on the lambda side of the API? As far as I can see, I only have the JWT scopes and payload.