I'm developing an internal application and currently it uses HTTP Basic auth with an admin account to use the Bitbucket Server REST API. It would be really useful if instead I could oauth authenticate the user on my application and impersonate them for calls to the Bitbucket Server REST API. Is this possible?
The following page indicates that OAuth with impersonation is only available for Atlassian applications.
https://confluence.atlassian.com/applinks/oauth-security-for-application-links-774045732.html