Search code examples
apiplatform-of-trust

How do I get ID of the current logged-in user in the Sandbox environment from Platform of Trust?


Every user getting registered to the Sandbox gets added to the Platform as an Identity. How can I get the Identity ID of my user when I log in to the Sandbox environment? I need this user ID for creating links between identities as is exemplified in this guide after creating group.


Solution

  • Another way is to check request from browser's network after you log in: https://world-sandbox.oftrust.net/api/me

    See the id in response enter image description here