| Name | Verify that the userinfo endpoint is valid and contains information about the authenticated user |
| Category | INFOSEC |
| Execution Method | AUTOMATED (VTT) |
| Description | In this particular test the Recipient establishes a consent agreement then performs a userinfo request to verify that the required claims are specified |
| 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
- Retrieve the user_info_endpoint from the OIDC discovery document
- Perform a POST request to the user info endpoint providing the access token retrieved in (2)
- Verify that the response from the user info endpoint contains the following:
- name
- given_name
- family_name
- sub containing PPID
|
| Inputs | Established Dynamic Client Registration |
| Expected Results | - The Holder rejects requests when an invalid certificate is used
- The Holder must support a user info endpoint
|