After getting a LoginResponse from the Lemmy API, it returns an auth JWT token.
I’m trying to figure out how I can get that users person_id
or username
so I can make a GetPersonDetails request for the currently logged in user.
Any ideas on how to do this?
I havent tried, but usually a JWT contains some sort of user ID
I was looking at that, but it didn’t seem to be the person_id of my user.
It looks like maybe local_user_id is different than person_id?