How to get users' own data from a collection?
After a successful login, /auth/login
does not return user-related info except the Bearer token.
So how do I request only the logged-in users' data from a collection?
While using GraphQL I can filter my result by this way if I knew my user ID. But I don't think it's the best way.
(filter:{user_created:{id:{_eq: "59d5bc57-6a67-4200-b435-553403c5b503"} }})