Test info
Profile: {'openid-configuration': 'config', 'response_type': 'id_token+token', 'crypto': 'encrypt+none+sign', 'registration': 'static'}
Timestamp: 2016-02-01T23:29:14Z
Test description: Scope requesting address claims [Basic, Implicit, Hybrid]
Test ID: OP-scope-address
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:__
[check-http-response]
status: OK
description: Checks that the HTTP response status is within the 200 or 300 range
[verify-response]
status: OK
description: Checks that the last response was one of a possible set of OpenID Connect Responses
[verify-scopes]
status: OK
description: Verifies that the claims corresponding to the requested scopes are returned
__X:==== END ====__
Trace output
0.000485 ------------ DiscoveryRequest ------------
0.000502 Provider info discover from 'https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth'
0.000510 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/.well-known/openid-configuration
0.952901 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.905407 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.910883 ------------ AuthorizationRequest ------------
1.911571 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/authorise?nonce=mSyRppF5pP8T&state=25moom19glxtrnoA&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+address
1.911580 --> BODY: None
2.333559 QUERY_STRING:
3.520359 <-- access_token=zl-wXXPpSsyrk-GEvv4X4g&id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjQ2OGIxNzYzLTE0MmEtNDNkYS05NmUwLTUzZjJiNmUxYTdhYyJ9.eyJpc3MiOiJodHRwczovL2VjMi01NC0xNTMtMTY5LTE1MS5hcC1zb3V0aGVhc3QtMi5jb21wdXRlLmFtYXpvbmF3cy5jb20vb2F1dGgiLCJhdWQiOiI0MDNhMDA4ZC01YTliLTQ2ZjMtODczZS1lNjgzNDM1YTI0OWIiLCJleHAiOiIxNDU0MzcyOTY1IiwiaWF0IjoiMTQ1NDM2OTM2NSIsImF1dGhfdGltZSI6IjE0NTQzNjkwNTciLCJub25jZSI6Im1TeVJwcEY1cFA4VCIsImF1dGhfbW9kZSI6InNpbXBsZSIsInN1YiI6IjRkMjVjYjQ3LWEwNjMtNDJjMS05ZmU0LWQxMDBmYjEwMDk4YyIsImF0X2hhc2giOiJRS0hTbHgwdnFEWk1GM25fY3JtcU1RIn0.byKLpQjs0rRRzbzwJb8xvJ6R3Ma7-qZ6uninSlhlUutoLJ9RkBv8jBqBiOn5hhmHdTjuIilOwL1hOp3DXBrsxmbmSIyKhTRABCGYoIx5YjgLnYVKiGTvK_Bxnqyx1TQOV44d3eFSf53jV5luDuvhulPuSsA84bb1xDfIsfdjAapDVaCSL8byjA5SUBXNUrEd0ux3S2zuVF6QdwO7GNyGcZ2E78gWuuBclRR4u8o0BRLYNB2Uk6-GfcQwcLMPWusHZLLPLNxgC8lxu0oY2lWT996NBVCamb1amLPfuGWabg1rVYwn24i1t4F6VSIAi1y4sJnmBMK0SfncNe4v1l1MUQ&state=25moom19glxtrnoA
4.489001 AuthorizationResponse: {
"access_token": "zl-wXXPpSsyrk-GEvv4X4g",
"id_token": {
"claims": {
"at_hash": "QKHSlx0vqDZMF3n_crmqMQ",
"aud": [
"403a008d-5a9b-46f3-873e-e683435a249b"
],
"auth_mode": "simple",
"auth_time": "1454369057",
"exp": "1454372965",
"iat": "1454369365",
"iss": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth",
"nonce": "mSyRppF5pP8T",
"sub": "4d25cb47-a063-42c1-9fe4-d100fb10098c"
},
"jws header parameters": {
"alg": "RS256",
"kid": "468b1763-142a-43da-96e0-53f2b6e1a7ac",
"typ": "JWT"
}
},
"state": "25moom19glxtrnoA"
}
4.489792 ------------ UserInfoRequest ------------
4.490072 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/userinfo
4.490078 --> BODY: None
4.490088 --> HEADERS: {'Authorization': u'Bearer zl-wXXPpSsyrk-GEvv4X4g'}
5.448683 <-- STATUS: 200
5.448761 Available verification keys: [(u'468b1763-142a-43da-96e0-53f2b6e1a7ac', u'RSA')]
5.448800 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
5.448908 <-- BODY: {
"sub" : "4d25cb47-a063-42c1-9fe4-d100fb10098c",
"address" : { }
}
5.449866 UserInfo: {
"address": {},
"sub": "4d25cb47-a063-42c1-9fe4-d100fb10098c"
}
5.455097 ==== END ====
Result
PASSED