Test info
Profile: {'openid-configuration': 'no-config',
'response_type': 'code', 'crypto': 'none', 'registration':
'static'}
Timestamp: 2016-01-26T05:04:01Z
Test
description: Scope requesting phone claims [Basic, Implicit,
Hybrid]
Test ID: OP-scope-phone
Issuer:
http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/
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.000349 'scopes_supported' not defined in provider configuration
0.000502 ------------ AuthorizationRequest ------------
0.000882 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationEndpoint?scope=openid+phone&state=cJJ5huZcdzMkpzBI&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb&response_type=code&client_id=CLIANT9999
0.000888 --> BODY: None
32.692534 <-- state=cJJ5huZcdzMkpzBI&code=9g74m3DJl0EQDPRu
32.693086 AuthorizationResponse: {
"code": "9g74m3DJl0EQDPRu",
"state": "cJJ5huZcdzMkpzBI"
}
32.693465 ------------ AccessTokenRequest ------------
32.693889 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationCode/
32.693895 --> BODY: code=9g74m3DJl0EQDPRu&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb
32.693912 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic Q0xJQU5UOTk5OTpjbGlhbnRfOTk5OQ=='}
33.183661 <-- STATUS: 200
33.183710 <-- BODY: {"scope":"phone","expires_in":3599,"token_type":"Bearer","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJleHAiOjE0NTM3ODgyNDAsImF6cCI6IkNMSUFOVDk5OTkiLCJzdWIiOiJzZWlub3UxMjg0NiIsImF1ZCI6IkNMSUFOVDk5OTkiLCJpc3MiOiJodHRwczpcL1wvZHVhbHN0YWNrLjNhLXRlc3QtMTI1NjkyMjUzMy5hcC1ub3J0aGVhc3QtMS5lbGIuYW1hem9uYXdzLmNvbTo4MDgxXC8iLCJpYXQiOjE0NTM3ODQ2NDB9.","access_token":"8CfdbI1hwejplvM7FAHQdsrWdRD7NABl"}
33.185318 AccessTokenResponse: {
"access_token": "8CfdbI1hwejplvM7FAHQdsrWdRD7NABl",
"expires_in": 3599,
"id_token": {
"claims": {
"aud": [
"CLIANT9999"
],
"azp": "CLIANT9999",
"exp": 1453788240,
"iat": 1453784640,
"iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
"sub": "seinou12846"
},
"jws header parameters": {
"alg": "none",
"typ": "JWT"
}
},
"scope": "phone",
"token_type": "Bearer"
}
33.195256 ------------ UserInfoRequest ------------
33.195542 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/UserInfoEndpoint/
33.195548 --> BODY: None
33.195558 --> HEADERS: {'Authorization': u'Bearer 8CfdbI1hwejplvM7FAHQdsrWdRD7NABl'}
33.696457 <-- STATUS: 200
34.108440 Available verification keys: [(u'2011-04-29', u'RSA')]
34.108488 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
34.108512 <-- BODY: {"sub":"seinou12846","phone_number":"+1 (310) 123-4567","iss":"https:\/\/dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081\/","aud":"CLIANT9999","phone_number_verified":"+1 (310) 123-4567"}
34.109251 UserInfo: {
"aud": "CLIANT9999",
"iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
"phone_number": "+1 (310) 123-4567",
"phone_number_verified": "+1 (310) 123-4567",
"sub": "seinou12846"
}
34.119124 ==== END ====
Result
PASSED