Skip to main content

INFOSEC-CDR-ARRANGEMENT-ONCE-OFF-EXPIRED-NO-EXTENSION

NameVerify that Arrangements established as Once Off or already Expired cannot be extended
CategoryINFOSEC
Execution MethodAUTOMATED (FAPI BASELINE)
Preconditions
Description

In this particular test an arrangement is established first as a once off and then as a short lived duration. For each scenario an attempt to reuse the arrangement is attempted (using the cdr_arrangement_id claim) and should be rejected.
Refer to: Extending an arrangement when it is expired or revoked

Steps
  1. Establish a once off consent agreement by specifying a sharing_duration of 0
  2. On completion of the consent flow perform Token and Arrangement ID collection using a POST /token
  3. Initiate an authorisation request requesting a sharing duration of 100 and specifying the CDR Arrangement ID retrieved within (2)
  4. The request should trigger an OAuth2 server error
  5. Establish a consent agreement by specifying sharing_duration of 360
  6. On completion of the consent flow perform Token and Arrangement ID collection using a POST /token and verify a sharing_duration_expires_at of < 360 seconds
  7. Wait 10 minutes
  8. Initiate an authorisation request requesting a sharing duration of 100 and specifying the CDR Arrangement ID retrieved within (6)
  9. The request should trigger an OAuth2 server error
InputsEstablished Dynamic Client Registration
Expected Results
  • The Holder should reject reuse of arrangements which were established as once-off’s
  • The Holder should reject use of arrangements which are already expired