[users at bb.net] Need help testing BitbucketAuth and "team" privilege scope
Craig Rodrigues
rodrigc at crodrigues.org
Wed Jun 28 22:38:53 UTC 2017
Hi,
I am trying to test BitbucketAuth, and am running into some problems.
I followed the instructions at:
http://docs.buildbot.net/latest/manual/cfg-www.html#authentication-plugins
and set up my Bitbucket account to authorize my Bitbucket instance.
I took my client id and client secret and put it in my master.cfg:
c['www'] = dict(port=8010,
auth=util.BitbucketAuth("myclientid", "myclientsecret"),
plugins=dict(waterfall_view={}, console_view={}))
>From buildbot, I was able to Log into Bitbucket,
but then it doesn't work. After some debugging, I
found this message is coming back from Bitbucket:
{'type': 'error', 'error': {'message': 'Your credentials lack one or more
required privilege scopes.', 'detail': {'granted': ['pullrequest',
'account'], 'required': ['team']}}}
Does anyone know how to set the "team" privilege scope?
I'm not familiar with the Bitbucket UI so don't know where to set it
--
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170628/3569345b/attachment.html>
More information about the users
mailing list