Skip to main content

INFOSEC-TOKEN-RESPONSE-EXPIRES-IN

NameVerify that the Token Response contains the expires_in attribute
Category

INFOSEC

Execution Method

AUTOMATED (FAPI BIZA)

DescriptionIn this particular test the Recipient verifies that the Token Response has an expires_in attribute which outlines the lifetime of the access token
Preconditions
Steps
  1. Establish a consent agreement using the authorisation flow and receive the redirect containing the code and id_token attributes
  2. Perform Token retrieval using a POST /token
  3. Verify that the Token Response payload contains the expires_in attribute
  4. Verify that the expires_in attribute is a value between 120 (2 mins) and 600 (10 mins)
InputsEstablished Dynamic Client Registration
Expected Results
  • The Holder must be returning the expires_in attribute
  • The Holder must return an expires_in attribute of between 120 (2 mins) and 600 (10 mins)