Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25232

Bitbucket OAuth - Api Token

XMLWordPrintable

      When using bitbucket oauth and attempting to use the api token for a user.
      In the security matrix I have users added and with full permissions, but when attempting to use that users api token I receive a permissions error.
      The issue is the user id and the login id are different. A user id may be bob and the jenkins id is actually bob@email.com when using the bitbucket plugin. So if I grab bob's auth token and attempt to curl -u bob:token http://jenkins I will receive a permissions error complaining that bob@email.com does not have access. I can work around this by adding bob@email.com to the security matrix and giving him permissions in addition to bob.

            Unassigned Unassigned
            sstarcher Shane Starcher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: