I was working on the Third party app hosting with pantaris-latest.de. The authentication flow was successful and I was able to get the token. But when I retrieve the current user with this token, I am getting the user email as “anonymous”.
What shall I do to get the actual current user info ?
1 Like
If I understood it right, you are using an app-token and call users/current
. So the endpoint results to the belonging app-identity.
To get the email of a user, you can use GET users/:id
. The sub
field of the token is the belonging user-id.
Ok Thanks.