I'm following below way to get access token to access repositories
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://bitbucket.org/site/oauth2/authorize"
+ "?client_id="+key+"&response_type=code&scope=repository&redirect_url="+callBack_url));
startActivity(intent);
But in browser after successful login it is saying like did not match with any documents.
Please help on this to access repositories