- Strapi Version: 3.6.8:
- Operating System: Windows 11:
- Database: mysql:
- Node Version: 14.18.1:
- Yarn Version: 1.22.11:
Hello guys, I face a little issue, and this is just one of the thing, there is just need to be a more elegant way. I build after update lifecycle hook, to log the update and this I need the identity of the user, who did the update.
But I am unable to do that, right now I am doing really nasty “hack” so I wrote a middleware, that gives me the jwc token, and in the lifehook I make a request to /user/me, to get the full identity. How can i do this better?