Any plans to support impersonation tokens?


#1

GitHub Enterprise and GitLab support impersonation tokens (https://developer.github.com/enterprise/2.3/v3/users/administration/#create-an-impersonation-oauth-token), which allow a third-party application to impersonate a user when making API requests those services. This is useful for applications like Sourcegraph that fetch repository data and would like to enforce Bitbucket Server ACLs within their own UI.

Reading through the Bitbucket Server documentation, the closest thing comparable seems to be OAuth with impersonation (https://confluence.atlassian.com/applinks/oauth-security-for-application-links-774045732.html#OAuthsecurityforapplicationlinks-impersonationOAuthwithimpersonation), but that is only supported for first-party Atlassian applications. Does Bitbucket Server support impersonation tokens or will it at some point in the future?