Luc4200
(Lucas Miller)
1
I don’t know how to use Web API with a user created with SAML authentication.
(SonarQube version: Developer Edition version 8.9.2 (build 46101))
The created user does not have a login password, so I created a user token and entered the command as follows.
curl -u my_token htts://host:9000/api/users/search
Then you will be asked for a password, but I don’t know what to do.
please tell me.
Thank you in advance.
felipebz
(Felipe Zorzo)
2
Hi,
You need a colon after the token as stated in the documentation. Example:
# note that the colon after the token is required in curl to set an empty password
curl -u THIS_IS_MY_TOKEN: htts://host:9000/api/users/search
Luc4200
(Lucas Miller)
3
Hi @felipebz
Thank you for your reply!
Thanks to you, I was able to solve it.
system
(system)
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.