The authenticated user is obtained via the Application Context:
const { context } = this.props.dpapp; context.getMe().then(user => console.log(user));
You can read more about the getMe method and the type it resolves with in the API reference: https://deskpro.github.io/apps-sdk-core/reference/Context.html#getMearrow-up-right
getMe
Last updated 7 years ago