Hi there ,
I am trying to integrate XRAY with webdriver IO , mocha using the guide below
The below -
curl -H
"Content-Type: application/json"
-X POST --data
'{ "client_id": "CLIENTID","client_secret": "CLIENTSECRET" }'
https:
//xray
.cloud.xpand-it.com
/api/v1/authenticate
needs client Id and client secret which is not available for our JIRA implementation.
so , I only have username and password , how do i use it to achieve above ?
Thanks,
Mahima.
It does not work with username/password because it uses two-step authentication.
You need first to configure the client ID and secret as described on this documentation page:
https://docs.getxray.app/display/XRAYCLOUD/Global+Settings%3A+API+Keys
After, it is necessary to request an access token like described here:
https://docs.getxray.app/display/XRAYCLOUD/Authentication+-+REST
And finally, you can execute your API requests using the token obtained from the previous step.
Thank you.
Kind regards,
Rogerio Paiva [Xporter Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.