Learn why you shouldn’t build your own auth, and what happened to dozens of teams that didBack to Explorer
Bitbucket OAuth endpoints
Bitbucket OAuth endpoints and related development resources
Bitbucket authorization endpoint
https://bitbucket.org/site/oauth2/authorize
The endpoint to redirect users to in order to grant your application access to their account.
Bitbucket token endpoint
https://bitbucket.org/site/oauth2/access_token
The endpoint to exchange the authorization code or refresh token for an access token and a refresh token.
Bitbucket userinfo endpoint
https://api.bitbucket.org/2.0/user
The standardized OAuth endpoint that returns authenticated user profile information, including claims about the current user based on the scope of access token.