Skip to main content

INFOSEC-CDR-ARRANGEMENT-SETUP-HAPPY

NameCDR Arrangement Establishment (Happy Flow)
CategoryINFOSEC
Execution MethodAUTOMATED (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
  1. Establish a consent agreement using the authorisation flow and specifying a sharing_duration of 5184000 (60 days)
  2. On completion of the consent flow perform Token collection using a POST /token
  3. 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
  4. Attempt (1) β†’ (3) again to establish a second concurrent consent
InputsExisting 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