| Name | CDR Arrangement Establishment (Happy Flow) |
|---|
| Category | INFOSEC |
|---|
| Execution Method | AUTOMATED (FAPI BASELINE) |
|---|
| Preconditions | |
|---|
| Description | In this particular test the Data Recipient attempts an arrangement establishment for one month specifying a sharing_duration and expecting a sharing_expires_at. |
|---|
| Steps | - Establish a consent agreement using the authorisation flow and specifying a sharing_duration of 5184000 (60 days)
- On completion of the consent flow perform Token collection using a POST /token
- Decode the ID Token received in (2) and verify it contains:
- sharing_expires_at claim roughly equal (but no more) than 5184000
- Verify that refresh_token_expires_at claim is at least 2419200 but no larger than 5184000
- Attempt (1) β (3) again to establish a second concurrent consent
|
|---|
| Inputs | Existing Dynamic Client Registration |
|---|
| Expected Results | - The Holder accepts sharing_duration
- The Holder returns a claim of sharing_expires_at
- The Holder returns a refresh_token_expires_at that is equal to or greater than 28 days but no more than the sharing expires at
|
|---|