How to access ctx.state.user in controller [strapi v4]

yes, this issue solved for me. make sure you have access to jwt token when you sending request using:

console.log(token)