Skip to main content

INFOSEC-CDR-ARRANGEMENT-UPDATE-KILLS-OLD-TOKENS

NameUpdates of CDR Arrangements must trigger Token revocations for previous arrangement definition
CategoryINFOSEC
Execution MethodAUTOMATED (FAPI BASELINE)
Preconditions
Description

In this particular test the Holder is presented with an existing CDR Arrangement Identifier which the Recipient is currently using (coupled with active tokens). After completing the consent flow the Holder must revoke existing tokens associated with the previous state of the arrangement and replace them with new tokens obtained during the subsequent POST /token call.

Steps
  1. Establish a consent agreement using the authorisation flow
  2. On completion of the consent flow perform Token and Arrangement ID collection using a POST /token
  3. Initiate a new consent agreement while specifying the arrangement id retrieved in (2)
  4. On completion of the second consent flow perform Token and Arrangement ID collection using POST /token
  5. Attempt to utilise the refresh token originally received within (2), this request should fail
  6. Attempt to utilise the access token originally received within (2), this request should fail
InputsEstablished Dynamic Client Registration
Expected Results
  • The Holder issues CDR Arrangement IDs during token retrieval
  • The Holder rejects requests using tokens that have been superseded by updated details during the modification of an existing arrangement