Skip to main content

INFOSEC-USER-INFO-VALID

NameVerify that the userinfo endpoint is valid and contains information about the authenticated user
Category

INFOSEC

Execution Method

AUTOMATED (VTT)

DescriptionIn this particular test the Recipient establishes a consent agreement then performs a userinfo request to verify that the required claims are specified
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. Retrieve the user_info_endpoint from the OIDC discovery document
  4. Perform a POST request to the user info endpoint providing the access token retrieved in (2)
  5. Verify that the response from the user info endpoint contains the following:
    • name
    • given_name
    • family_name
    • sub containing PPID
InputsEstablished Dynamic Client Registration
Expected Results
  • The Holder rejects requests when an invalid certificate is used
  • The Holder must support a user info endpoint