| Description | In this particular test the Data Recipient attempts to perform a registration using an expired SSA, a fake software product, invalid metadata, and invalid SSA and expects all such attempts to fail. |
| Steps | - After retrieving a token from the Register IDP, retrieve an SSA for the Data Recipient's Software Product and populate it in the software_statement field.
- Wait 30 minutes for SSA to expire.
- Construct a Dynamic Client Registration request containing iss, iat, exp, jti, aud, token_endpoint_auth_method, grant_types, response_types, id_token_signed_response_alg, id_token_encrypted_response_alg, token_endpoint_auth_signing_alg, id_token_encrypted_response_enc, software_statement.
- Sign the DCR from (2) using the ADRโs JWKS.
- Submit a POST request to the registration_endpoint.
- The Holder should reject the registration request due to expired SSA.
- Perform (1) again to retrieve a new SSA.
- Deserialize the retrieved SSA and then sign it with the Data Recipientโs JWKS (creating an incorrectly signed SSA).
- Perform (3), (4) and (5) again.
- The Holder should reject the registration request due to incorrectly signed SSA.
|