Test info
Profile: {'openid-configuration': 'no-config',
'response_type': 'code', 'crypto': 'none', 'registration':
'static'}
Timestamp: 2016-01-28T08:23:58Z
Test
description: Trying to use authorization code twice should result in
revoking previously issued access tokens [Basic, Hybrid]
Test ID:
OP-OAuth-2nd-Revokes
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:__
[verify-response]
status: WARNING
description: Checks that the last response was one of a possible set of OpenID Connect Responses
info: Got a OpenIDSchema response
__X:==== END ====__
Trace output
0.000481 ------------ AuthorizationRequest ------------
0.000883 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationEndpoint?scope=openid&state=1868NCIkRHl7IgwM&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb&response_type=code&client_id=CLIANT9999
0.000889 --> BODY: None
49.982018 <-- state=1868NCIkRHl7IgwM&code=rw6vHeBoH2B9xvh0
49.982463 AuthorizationResponse: {
"code": "rw6vHeBoH2B9xvh0",
"state": "1868NCIkRHl7IgwM"
}
49.982845 ------------ AccessTokenRequest ------------
49.983255 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationCode/
49.983261 --> BODY: code=rw6vHeBoH2B9xvh0&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb
49.983274 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic Q0xJQU5UOTk5OTpjbGlhbnRfOTk5OQ=='}
50.445324 <-- STATUS: 200
50.445373 <-- BODY: {"scope":"","expires_in":3600,"token_type":"Bearer","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJleHAiOjE0NTM5NzMwMzYsImF6cCI6IkNMSUFOVDk5OTkiLCJzdWIiOiJzZWlub3UxMjg0NiIsImF1ZCI6IkNMSUFOVDk5OTkiLCJpc3MiOiJodHRwczpcL1wvZHVhbHN0YWNrLjNhLXRlc3QtMTI1NjkyMjUzMy5hcC1ub3J0aGVhc3QtMS5lbGIuYW1hem9uYXdzLmNvbTo4MDgxXC8iLCJpYXQiOjE0NTM5Njk0MzZ9.","access_token":"kjcT5mddBKSOBq1kxg8uYleVFSxwgU6T"}
50.447863 AccessTokenResponse: {
"access_token": "kjcT5mddBKSOBq1kxg8uYleVFSxwgU6T",
"expires_in": 3600,
"id_token": {
"claims": {
"aud": [
"CLIANT9999"
],
"azp": "CLIANT9999",
"exp": 1453973036,
"iat": 1453969436,
"iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
"sub": "seinou12846"
},
"jws header parameters": {
"alg": "none",
"typ": "JWT"
}
},
"token_type": "Bearer"
}
50.459865 ------------ AccessTokenRequest ------------
50.460363 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationCode/
50.460369 --> BODY: code=rw6vHeBoH2B9xvh0&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb
50.460388 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic Q0xJQU5UOTk5OTpjbGlhbnRfOTk5OQ=='}
50.911878 <-- STATUS: 400
50.912039 ErrorResponse: {
"error": "invalid_grant",
"error_description": "\u8a8d\u53ef\u30b3\u30fc\u30c9\u60c5\u5831\u53d6\u5f97\u30c7\u30fc\u30bf\u672a\u5b58\u5728\u30a8\u30e9\u30fc",
"error_uri": "error_uri"
}
50.923298 ------------ UserInfoRequest ------------
50.923706 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/UserInfoEndpoint/
50.923712 --> BODY: None
50.923727 --> HEADERS: {'Authorization': u'Bearer kjcT5mddBKSOBq1kxg8uYleVFSxwgU6T'}
51.350148 <-- STATUS: 200
51.773595 Available verification keys: [(u'2011-04-29', u'RSA')]
51.773645 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
51.773668 <-- BODY: {"sub":"seinou12846","iss":"https:\/\/dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081\/","aud":"CLIANT9999"}
51.774401 UserInfo: {
"aud": "CLIANT9999",
"iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
"sub": "seinou12846"
}
51.786101 ==== END ====
Result
WARNING
Warnings:
Got a OpenIDSchema response