<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I am trying to test BitbucketAuth, and am running into some problems.<br><br></div>I followed the instructions at:<br><br><a href="http://docs.buildbot.net/latest/manual/cfg-www.html#authentication-plugins">http://docs.buildbot.net/latest/manual/cfg-www.html#authentication-plugins</a><br><br></div>and set up my Bitbucket account to authorize my Bitbucket instance.<br></div>I took my client id and client secret and put it in my master.cfg:<br><br>c['www'] = dict(port=8010,<br>    auth=util.BitbucketAuth("myclientid", "myclientsecret"),<br>    plugins=dict(waterfall_view={}, console_view={}))<br><br></div><div>From buildbot, I was able to Log into Bitbucket,<br></div><div>but then it doesn't work.  After some debugging, I<br>found this message is coming back from Bitbucket:<br><br>{'type': 'error', 'error': {'message': 'Your credentials lack one or more required privilege scopes.', 'detail': {'granted': ['pullrequest', 'account'], 'required': ['team']}}}<br><br></div><div>Does anyone know how to set the "team" privilege scope?<br><br></div><div>I'm not familiar with the Bitbucket UI so don't know where to set it<br></div><div>--<br></div>Craig<br></div>