Skip to main content

INFOSEC-CDR-ARRANGEMENT-SETUP-INVALID-DURATION

NameCDR Arrangement Establishment (Invalid Durations specified)
CategoryINFOSEC
Execution MethodAUTOMATED (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
  1. Initiate a consent establishment using a sharing_duration of invalid, the request should be rejected.
  2. Initiate a consent establishment using a sharing_duration of -2021, the request should be rejected
  3. Establish a consent agreement using the authorisation flow and specifying a sharing_duration of 63072000
  4. On completion of the consent flow perform Token collection using a POST /token
  5. 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
InputsExisting 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)