Test info
Profile: {'openid-configuration': 'config', 'response_type': 'id_token+token', 'crypto': 'encrypt+none+sign', 'registration': 'static'}
Timestamp: 2016-02-01T23:27:09Z
Test description: UserInfo Endpoint access with GET and bearer header [Basic, Implicit, Hybrid]
Test ID: OP-UserInfo-Endpoint
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.000331 ------------ DiscoveryRequest ------------
0.000345 Provider info discover from 'https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth'
0.000352 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/.well-known/openid-configuration
0.927903 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.868661 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.873177 ------------ AuthorizationRequest ------------
1.873627 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/authorise?nonce=Atz8MGkkx2NJ&state=k4BKiaWs0ld0L567&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.873635 --> BODY: None
2.300896 QUERY_STRING:
3.448216 <-- access_token=3m48VEXqRJKCbWllgOu1bQ&id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjQ2OGIxNzYzLTE0MmEtNDNkYS05NmUwLTUzZjJiNmUxYTdhYyJ9.eyJpc3MiOiJodHRwczovL2VjMi01NC0xNTMtMTY5LTE1MS5hcC1zb3V0aGVhc3QtMi5jb21wdXRlLmFtYXpvbmF3cy5jb20vb2F1dGgiLCJhdWQiOiI0MDNhMDA4ZC01YTliLTQ2ZjMtODczZS1lNjgzNDM1YTI0OWIiLCJleHAiOiIxNDU0MzcyODQwIiwiaWF0IjoiMTQ1NDM2OTI0MCIsImF1dGhfdGltZSI6IjE0NTQzNjkwNTciLCJub25jZSI6IkF0ejhNR2treDJOSiIsImF1dGhfbW9kZSI6InNpbXBsZSIsInN1YiI6IjRkMjVjYjQ3LWEwNjMtNDJjMS05ZmU0LWQxMDBmYjEwMDk4YyIsImF0X2hhc2giOiJydmY0S0ROSVYweDlQcUFWMW9mTTd3In0.mWn3te5qrimDVz4MIEqixM9779EkOc7UAuCMSyInsWsCLREXwrY1pkJB9TN910133QYddwTFTv4VesFbI9JhZMQI1tG3X3MAhPjkJ-E2MV1pkGQCdqMOmFRASJzoLnmvU2fUS2CD1QXtocI8hkbZgiSneII2vVDVYnmflVeqOlVG-uo5WC_HBp64pLD-qK6Dpg3xE4cQaf22Yu8Pg07a1HKNbUNEjhJ6qA2iMp34Dg8btjonVrKE05aez6k-meAnLg2IpLHegojGpndhiliJxDztNLNg6Ex7bSR_AQaTjT2tG-SefOQNputIu_GMmoZJtKJvoF1LO8MRFQoLXKq_LA&state=k4BKiaWs0ld0L567
4.390691 AuthorizationResponse: {
"access_token": "3m48VEXqRJKCbWllgOu1bQ",
"id_token": {
"claims": {
"at_hash": "rvf4KDNIV0x9PqAV1ofM7w",
"aud": [
"403a008d-5a9b-46f3-873e-e683435a249b"
],
"auth_mode": "simple",
"auth_time": "1454369057",
"exp": "1454372840",
"iat": "1454369240",
"iss": "https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth",
"nonce": "Atz8MGkkx2NJ",
"sub": "4d25cb47-a063-42c1-9fe4-d100fb10098c"
},
"jws header parameters": {
"alg": "RS256",
"kid": "468b1763-142a-43da-96e0-53f2b6e1a7ac",
"typ": "JWT"
}
},
"state": "k4BKiaWs0ld0L567"
}
4.391291 ------------ UserInfoRequest ------------
4.391575 --> URL: https://ec2-54-153-169-151.ap-southeast-2.compute.amazonaws.com/oauth/userinfo
4.391582 --> BODY: None
4.391591 --> HEADERS: {'Authorization': u'Bearer 3m48VEXqRJKCbWllgOu1bQ'}
5.314810 <-- STATUS: 200
5.314881 Available verification keys: [(u'468b1763-142a-43da-96e0-53f2b6e1a7ac', u'RSA')]
5.314919 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
5.315020 <-- BODY: {
"sub" : "4d25cb47-a063-42c1-9fe4-d100fb10098c"
}
5.315910 UserInfo: {
"sub": "4d25cb47-a063-42c1-9fe4-d100fb10098c"
}
5.319531 ==== END ====
Result
PASSED