FAPI-RW-ID2-PAR-ATTEMPT-TO-USE-EXPIRED-REQUEST
| Name | PAR Request expiration verification |
|---|---|
| Category | INFOSEC |
| Execution Method | AUTOMATED (FAPI BASELINE) |
| Preconditions | |
| Description | This test tries to use a request_uri which has expired and expects the authorisation server to return an error. The test will call the PAR endpoint to create a new request_uri, then sleep until the expiry time for that request_uri before attempting to use it (this means this test may take some minutes to run, depending on the lifetime of the request_uri). |
| Steps | Client 1 Initiation
{
"aud": "https://localmachine:8103/local-conformance-holder",
"scope": "openid profile bank:accounts.basic:read bank:accounts.detail:read",
"claims": {
"sharing_duration": 7776000,
"id_token": {
"acr": {
"value": "urn:cds.au:cdr:2",
"essential": true
}
}
},
"iss": "4unxLnjKSMQCTRYU1X1Bed",
"response_type": "code id_token",
"redirect_uri": "https://localhost.emobix.co.uk:8443/test/a/wikkitgate/callback",
"state": "LwI4CZHGDm",
"exp": 1603332124,
"nonce": "vVqWbuseiL",
"client_id": "4unxLnjKSMQCTRYU1X1Bed"
} |
| Inputs | |
| Expected Results | PAR Request URIβs must be valid between 10 and 90 seconds |