| Name | CDR Arrangement Establishment (Invalid Durations specified) |
|---|
| Category | INFOSEC |
|---|
| Execution Method | AUTOMATED (FAPI BASELINE) |
|---|
| Preconditions | |
|---|
| Description | In this particular test the Data Recipient attempts an arrangement establishment for invalid durations and durations in excess of one year. |
|---|
| Steps | - Initiate a consent establishment using a sharing_duration of invalid, the request should be rejected.
- Initiate a consent establishment using a sharing_duration of -2021, the request should be rejected
- Establish a consent agreement using the authorisation flow and specifying a sharing_duration of 63072000
- On completion of the consent flow perform Token collection using a POST /token
- Decode the ID Token received in (2) and verify it contains a sharing_expires_at claim should not exceed roughly equal (but no more) than 31536000
|
|---|
| Inputs | Existing Dynamic Client Registration |
|---|
| Expected Results | - The Holder rejects sharing_duration of non-number and negative numbers
- The Holder resets sharing_duration to one year (31536000)
|
|---|