Sure. I sent a JWT token with Postman. I could see it inside the ctx. I used “Bearer token” as authorization.
With this code, I have no problem:
const user = await strapi.plugins[‘users-permissions’].services.jwt.getToken(ctx);
If ctx.state.user works, I can deduct that there is a problem with my request. But what?
Thank you for your help. I’d like to understand what’s wrong