contracts/mail-relay refreshed from IWDL 6cd99f7 (64 files). A token the service knows as another site's is forgotten without revoking and the site enrols as itself; a hand-issued one is refused. The fake requires the header and answers host-mismatch. Co-Authored-By: Claude Fable 5.2 <[email protected]>
29 lines
511 B
JSON
29 lines
511 B
JSON
{
|
|
"id": "status-no-site-header",
|
|
"title": "Every request with a token names its site",
|
|
"given": {
|
|
"site": "active"
|
|
},
|
|
"request": {
|
|
"method": "GET",
|
|
"path": "/v1/status",
|
|
"headers": {
|
|
"authorization": "Bearer {{token}}"
|
|
}
|
|
},
|
|
"response": {
|
|
"status": 400,
|
|
"schema": "Error",
|
|
"body": {
|
|
"ok": false,
|
|
"code": "invalid-request",
|
|
"field": "X-Intecion-Site"
|
|
}
|
|
},
|
|
"client": {
|
|
"retry": false,
|
|
"reEnrol": false,
|
|
"status": null
|
|
}
|
|
}
|