Test info
Profile: {'openid-configuration': 'no-config',
'response_type': 'code', 'crypto': 'none', 'registration':
'static'}
Timestamp: 2016-02-02T09:13:09Z
Test
description: Scope requesting address claims [Basic, Implicit,
Hybrid]
Test ID: OP-scope-address
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.000411 'scopes_supported' not defined in provider configuration
0.000563 ------------ AuthorizationRequest ------------
0.000942 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationEndpoint?scope=openid+address&state=eAyttoE4CxI6fvKG&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb&response_type=code&client_id=CLIANT9999
0.000948 --> BODY: None
19.786709 <-- state=eAyttoE4CxI6fvKG&code=2xnaIfqlblbFtoKF
19.787174 AuthorizationResponse: {
"code": "2xnaIfqlblbFtoKF",
"state": "eAyttoE4CxI6fvKG"
}
19.787548 ------------ AccessTokenRequest ------------
19.787940 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationCode/
19.787946 --> BODY: code=2xnaIfqlblbFtoKF&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb
19.787959 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic Q0xJQU5UOTk5OTpjbGlhbnRfOTk5OQ=='}
20.249786 <-- STATUS: 200
20.249838 <-- BODY: {"scope":"address","expires_in":3599,"token_type":"Bearer","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJleHAiOjE0NTQ0MDc5ODgsImF6cCI6IkNMSUFOVDk5OTkiLCJzdWIiOiJzZWlub3UxMjg0NiIsImF1ZCI6IkNMSUFOVDk5OTkiLCJpc3MiOiJodHRwczpcL1wvZHVhbHN0YWNrLjNhLXRlc3QtMTI1NjkyMjUzMy5hcC1ub3J0aGVhc3QtMS5lbGIuYW1hem9uYXdzLmNvbTo4MDgxXC8iLCJpYXQiOjE0NTQ0MDQzODh9.","access_token":"m74cD3lyMLXYW0wLkNooqDMgdwdANdu7"}
20.251507 AccessTokenResponse: {
"access_token": "m74cD3lyMLXYW0wLkNooqDMgdwdANdu7",
"expires_in": 3599,
"id_token": {
"claims": {
"aud": [
"CLIANT9999"
],
"azp": "CLIANT9999",
"exp": 1454407988,
"iat": 1454404388,
"iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
"sub": "seinou12846"
},
"jws header parameters": {
"alg": "none",
"typ": "JWT"
}
},
"scope": "address",
"token_type": "Bearer"
}
20.263872 ------------ UserInfoRequest ------------
20.264217 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/UserInfoEndpoint/
20.264223 --> BODY: None
20.264238 --> HEADERS: {'Authorization': u'Bearer m74cD3lyMLXYW0wLkNooqDMgdwdANdu7'}
20.756071 <-- STATUS: 200
21.160276 Available verification keys: [(u'2011-04-29', u'RSA')]
21.160330 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
21.160363 <-- BODY: {"sub":"seinou12846","address":"{\"street_address\":\"1234 Hollywood Blvd\",\"locality\":\"Los Angeles\",\"region\":\"CA\",\"country\":\"US\",\"postal_code\":\"90210\"}","iss":"https:\/\/dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081\/","aud":"CLIANT9999"}
21.161778 UserInfo: {
"address": {
"country": "US",
"locality": "Los Angeles",
"postal_code": "90210",
"region": "CA",
"street_address": "1234 Hollywood Blvd"
},
"aud": "CLIANT9999",
"iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
"sub": "seinou12846"
}
21.173351 ==== END ====
Result
PASSED