Test info

Profile: {'openid-configuration': 'config', 'response_type': 'id_token+token', 'crypto': 'encrypt+none+sign', 'registration': 'static'}
Timestamp: 2016-02-01T23:27:32Z
Test description: UserInfo Endpoint access with POST and bearer header [Basic, Implicit, Hybrid]
Test ID: OP-UserInfo-Header
Issuer: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth

Test output


__AuthorizationRequest:pre__
[check-response-type]
	status: OK
	description: Checks that the asked for response type are among the supported
[check-endpoint]
	status: OK
	description: Checks that the necessary endpoint exists at a server
__After completing the test flow:__
[verify-response]
	status: OK
	description: Checks that the last response was one of a possible set of OpenID Connect Responses
__X:==== END ====__

Trace output


0.000466 ------------ DiscoveryRequest ------------
0.000481 Provider info discover from 'https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth'
0.000489 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/.well-known/openid-configuration
0.977353 ProviderConfigurationResponse: {
  "account_endpoint": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/account",
  "authorization_endpoint": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/authorise",
  "claims_parameter_supported": false,
  "claims_supported": [
    "address",
    "email",
    "family_name",
    "given_name",
    "name",
    "phone_number",
    "preferred_username",
    "sub",
    "updated_at"
  ],
  "display_values_supported": [
    "page",
    "popup",
    "touch",
    "wap"
  ],
  "grant_types_supported": [
    "authorization_code",
    "implicit"
  ],
  "id_token_signing_alg_values_supported": [
    "RS256"
  ],
  "issuer": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth",
  "jwks_uri": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/keys",
  "request_parameter_supported": false,
  "request_uri_parameter_supported": true,
  "require_request_uri_registration": true,
  "response_types_supported": [
    "code",
    "token",
    "id_token",
    "token id_token"
  ],
  "revocation_endpoint": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/revoke",
  "scopes_supported": [
    "openid",
    "address",
    "profile",
    "email",
    "phone"
  ],
  "subject_types_supported": [
    "public"
  ],
  "token_endpoint": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/token",
  "token_endpoint_auth_methods_supported": [
    "client_secret_basic",
    "client_secret_post"
  ],
  "userinfo_endpoint": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/userinfo",
  "version": "3.0"
}
1.930583 JWKS: {
  "keys": [
    {
      "alg": "RS256",
      "e": "AQAB",
      "kid": "468b1763-142a-43da-96e0-53f2b6e1a7ac",
      "kty": "RSA",
      "n": "AM_U2ExHALTmiq8KLBZC7pKylVyr-r6oZrnwaUxQEMxZ6W8D0j_ijYmtj33qFqLCZ7iiAXC5DFDe96UxqxzAAsXUrqEHkhp2KWOZeXiyi0d-94jhZRLdpv9f_imWH-61d_Wj51XkXBSwUIZiwMYjP9ZeMK0gU5fU4fONBCnrIG6y-fbNSFsTiM-QvWG-KMU88o26XQNK924678_sgpVLYoeuKcEtEdvpNCGamttMMhi2B_vzVxn_dIbpsAGf5GbxCfyKw1w4Y9-bYX7YbV0GW25tjnh2Setfoo0EjImMeSQpXO-FYZgI39tSSF2Gm1d1aFu7bBlGYT9W1HUG3rRgUxs",
      "use": "sig"
    }
  ]
}
1.934441 ------------ AuthorizationRequest ------------
1.934907 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/authorise?nonce=wKJgVgHSkioE&state=lgWezuWiid5wTeY9&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60441%2Fauthz_cb&response_type=id_token+token&client_id=403a008d-5a9b-46f3-873e-e683435a249b&scope=openid
1.934915 --> BODY: None
2.346479 QUERY_STRING:
4.042135 <-- access_token=2ZAdQOptR8mOHiGP_Q6U_A&id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjQ2OGIxNzYzLTE0MmEtNDNkYS05NmUwLTUzZjJiNmUxYTdhYyJ9.eyJpc3MiOiJodHRwczovL2VjMi01NC0xNTMtMTY5LTE1MS5hcC1zb3V0aGVhc3QtMi5jb21wdXRlLmFtYXpvbmF3cy5jb20vb2F1dGgiLCJhdWQiOiI0MDNhMDA4ZC01YTliLTQ2ZjMtODczZS1lNjgzNDM1YTI0OWIiLCJleHAiOiIxNDU0MzcyODYyIiwiaWF0IjoiMTQ1NDM2OTI2MiIsImF1dGhfdGltZSI6IjE0NTQzNjkwNTciLCJub25jZSI6IndLSmdWZ0hTa2lvRSIsImF1dGhfbW9kZSI6InNpbXBsZSIsInN1YiI6IjRkMjVjYjQ3LWEwNjMtNDJjMS05ZmU0LWQxMDBmYjEwMDk4YyIsImF0X2hhc2giOiJmcFZ6ZVBldTdBU280NTluQ0hrUV9BIn0.A-tKFMqdTdhsFvUkONAABLR1Us6RNsS6ebv-HJXRMTMQSL0DK9BYF9nWzkSP3z9lvvWl3zVw6yeX3kwqbKra_W0YrChYpZWLmVh8sRzu3wgbq9REB54r_d9IwHZyH8wQQdxFTmf0Wh0jblH2vysYjwC098J5xMM4ZHHhyMG-Xkfq36yCyNERDH9_jrnS3DvY_wJ-3gSR8CMcOnQtD-5NC9CMFM2g28zFn0ydsFsdfb9XnhwDsdQuT4XAY31I_gKSi3WRXaLNHEcwKjn6g9rLrS4zUZx5MfLgR48GLLsnQmsbJZJDWLjlsWPMiZRNpVcuS61ZsXfnJeoC_MkMa14HDQ&state=lgWezuWiid5wTeY9
5.011465 AuthorizationResponse: {
  "access_token": "2ZAdQOptR8mOHiGP_Q6U_A",
  "id_token": {
    "claims": {
      "at_hash": "fpVzePeu7ASo459nCHkQ_A",
      "aud": [
        "403a008d-5a9b-46f3-873e-e683435a249b"
      ],
      "auth_mode": "simple",
      "auth_time": "1454369057",
      "exp": "1454372862",
      "iat": "1454369262",
      "iss": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth",
      "nonce": "wKJgVgHSkioE",
      "sub": "4d25cb47-a063-42c1-9fe4-d100fb10098c"
    },
    "jws header parameters": {
      "alg": "RS256",
      "kid": "468b1763-142a-43da-96e0-53f2b6e1a7ac",
      "typ": "JWT"
    }
  },
  "state": "lgWezuWiid5wTeY9"
}
5.012053 ------------ UserInfoRequest ------------
5.012329 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/userinfo
5.012335 --> BODY: 
5.012346 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Bearer 2ZAdQOptR8mOHiGP_Q6U_A'}
5.970423 <-- STATUS: 200
5.970502 Available verification keys: [(u'468b1763-142a-43da-96e0-53f2b6e1a7ac', u'RSA')]
5.970537 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
5.970636 <-- BODY: {
  "sub" : "4d25cb47-a063-42c1-9fe4-d100fb10098c"
}
5.971412 UserInfo: {
  "sub": "4d25cb47-a063-42c1-9fe4-d100fb10098c"
}
5.975257 ==== END ====

Result

PASSED