Considering that Bitbucket exposes OAuth1 endpoints via
https://api.bitbucket.org/1.0/oauth/<something> could be done something similar for OAuth2 ? (which currently is at
Maybe something like
This could be useful for API client libraries which defined their base URL as
https://api.bitbucket.org and at this point in time they need to be reconfigured before and after making a request on a OAuth2 endpoint (like https://bitbucket.org/site/oauth2/access_token for example).