I’m using Netlify Identity with Netlify Functions in one of my projects. When this project is pushed to production, I can see and use context.clientContext.user as described in the docs. However, when I’m using
netlify dev locally, the context passed into my function is always an empty object.
To test that I’m using Identity + Functions correctly, I have to keep pushing to production. It would be nice if
netlify dev provided the correct context for my function so I could test locally.