Reputation: 31
In Postman i'm giving SonarQube Api like http://localhost:9000/api/issues/search?projectKeys=project1&tags=duplicate And in Type i'm Taking Basic Auth
and after i'm giving userName and Api Token Like : admin:5d984b57b0575e2dd088d02c9cc596e9b9600457 in that time it's giving 401-Unauthorized
so please share your experience with me.
NOTE :- With this Api Token In postman Username Password and Bearer Token it's Working . i'm facing Unauthorized issue with userName and Api token.
Upvotes: 0
Views: 5908
Reputation: 31
As shown in postman you need to add the bearer token in the Username of the Postman and once you Preview the request you will be able to authenticate to Sonar.
Upvotes: 3