req.user. The user object is automatically appended to the request for you.
Defining Token Data
You can specify what data gets encoded to the Cookie/JWT-Token by settingsaveToJWT property on fields within your auth collection.
Storing data for read on the request object.
req.user. The user object is automatically appended to the request for you.
saveToJWT property on fields within your auth collection.