You can request the scope profile:me in your app manifest described on this page: https://itch.io/docs/itch/integrating/manifest-actions.html (see API key & scoping)
In your game you can make an http request to https://itch.io/api/1/jwt/me with the provided API key.
There’s a little tutorial on the link I gave above. Hope that helps