Authentication
Zephyr Squad Cloud REST API uses JWT (JSON Web Token) authentication.
To authenticate, provide your Zephyr AccessKey and SecretKey.
Upon successful authentication, the Zephyr server returns a cookie containing the
acpttoken.Use this cookie for all subsequent API requests.
Notes on JWT Authentication
Generating an AccessKey and SecretKey requires the following parameters:
ousername
otenantId
oaccountId(optional in some flows, but mandatory when using custom JWT generation)
If you are generating a custom JWT, include the following claim context, ensuring that
accountIdis present:
{
"context": {
"user": {
"accountId": "123456:1234abcd-1234-abcd-1234-1234abcd1234"
}
}
}References