Symfont 5 Api Platform JWT Token: Best way to get user data

  api, jwt, jwt-auth, symfony

I have Entity Users and if i call:

  1. – i get token
  2. – i get all users (with token in header)
  3. – i get specific user (withtoken in header)
  4. – i want to get user who is logged with provided token form 1.

Is there any way to be create on User entity, or i need to create Controller and develop the route ?
Thanks in advice

Source: Symfony Questions