What is the preferred method of fetching user details in the new custom Widget Sets?
I’m asking specifically about (A) identifying the current user and (B) getting user Attributes (Given Name, Family Name) for a given user for the purposes of meaningfully rendering multipass ID object properties and passing user information into ontology actions.
Using Users.getCurrent() from @osdk/foundry.admin seems to fail due to missing scope (api:admin-read) - I’m assuming platform API’s are not enabled yet for custom widgets?
I know for (A) we can pass the current user’s multipass ID in as a parameter for the widget, but on B I haven’t found a great solution.