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

i found this solution a few days ago:
ctx.state.user returns undefined

i thought there is more standard way to fix in backend, but don’t seem!

so i use this method and thanks for made your time for my issue

1 Like