| Name | Verify that the Token Response contains the expires_in attribute |
| Category | INFOSEC |
| Execution Method | AUTOMATED (FAPI BIZA) |
| Description | In 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 | - Establish a consent agreement using the authorisation flow and receive the redirect containing the code and id_token attributes
- Perform Token retrieval using a POST /token
- Verify that the Token Response payload contains the expires_in attribute
- Verify that the expires_in attribute is a value between 120 (2 mins) and 600 (10 mins)
|
| Inputs | Established 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)
|