Try to authentificate with JWT
Hello,
I am trying authentificate to Zephyr by JWT token.
Request url:
https://prod-play.zephyr4jiracloud.com/connect/public/rest/api/1.0/config/generalinformation
Documentation:
https://zfjcloud.docs.apiary.io/#reference/cycle/creates-new-cycle/get-addon-info
Headers:
Authorization: JWT <JWT_TOKEN>
zapiAccessKey: <ACCESS_KEY>
Content-type: application/json
I have performed all the steps that are discussed in this post to generate the JWT Token:
Also in this one too:
https://support.smartbear.com/zephyr-squad-cloud/docs/test-automation/api.html
I am able to generate the token in both ways, via postman or with the zapi-cloud.git. But when I do a request with postman I always get a 401 error and this message:
Expecting claim 'qsh' to have value '7f0d00c2c7*****************42d4b84374' but instead it has the value '9a826e393c52fc74522e694b**************de592e'
Every time I try to launch the request again I generate a new JWT, But same result.
What do I need to be able to connect correctly with Zephyr?
I need to connect with Zephyr to be able to change the states of the tests that I have created in Zpehyr
Thanks