I created an "Login with ServiceNow" OAuth flow via Authcode grant (I don't have username). As of now, I only am aware of the instance URL and access token - how do I use this to get the authenticating user's sys_id/other details?
I tried hitting sys_user
endpoint - but it returns all users.
Also couldn't find any API from their documentation.
P.S. Not similar to Get the user sys_id using REST API in ServiceNow? since the answer expects the developer to know the username