I’m building an external integration with Confluence. It’ll be integrated via Confluence REST API.
I’m following this guide: https://developer.atlassian.com/cloud/confluence/user-impersonation-for-connect-apps/
Once my addon is installed, my app receives “oauthClientID” and “secret”. If I understand correctly, I can use these to claim OAuth impersonation bearer token for any user to act on their behalf.
The user must be specified by their Account ID.
How am I supposed to figure what’s the right Account ID for each user?
I was thinking about performing user search first, and match users by their emails.
But the emails are hidden. The only info I get for a user is a display name (which is not reliable for users matching).