Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-14340

‘Not authorized’ analysis should prompt for a token, not login/password

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.7
    • Component/s: Scanner
    • Labels:
    • Edition:
      Community
    • Production Notes:
      None

      Description

      This message is shown when there is an authentication issue when connecting with SonarQube form a scanner.

      Not authorized. Analyzing this project requires to be authenticated. Please provide the values of the properties sonar.login and sonar.password.
      

      This message should be updated to also mention using a user token which is the recommended method for authentication from a scanner.

      ERROR: Not authorized. Analyzing this project requires authentication. Please provide a user token in sonar.login or other credentials in sonar.login and sonar.password.
      

        Attachments

          Activity

            People

            Assignee:
            mark.rekveld Mark Rekveld (Inactive)
            Reporter:
            mark.rekveld Mark Rekveld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: