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

Documentation doesn't mention that the OAuth Consumer needs to be private

XMLWordPrintable

      to avoid
      > class org.scribe.exceptions.OAuthExceptionCannot extract an acces token. Response was: {"error": "invalid_grant", "error_description": "Cannot use client_credentials with a consumer marked as \"public\". Calls for auto generated consumers should use urn:bitbucket:oauth2:jwt instead."}
       
      you must check this box when setting up the Oauth consumer in Bitbucket cloud:
       
      This is a private consumer
      Enables the client_credentials grant type. Installable applications that ship their OAuth consumer credentials as part of the application should not be marked as private.

            flagbit Antonio Mansilla
            paulfrischknechtdosilab Paul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: