Test info
Profile: {'openid-configuration': 'no-config',
'response_type': 'code', 'crypto': 'none', 'registration':
'static'}
Timestamp: 2016-01-26T04:44:17Z
Test
description: ID Token has nonce when requested for code flow
[Basic]
Test ID: OP-nonce-code
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-nonce]
status: OK
description: Verifies that the nonce recceived in the IDToken is the same as was given in the Authorization Request
[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.000435 ------------ AuthorizationRequest ------------
0.000838 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationEndpoint?nonce=godmorgon&state=ftTKy7E140aVJ6oQ&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb&response_type=code&client_id=CLIANT9999&scope=openid
0.000843 --> BODY: None
118.809505 <-- state=ftTKy7E140aVJ6oQ&code=uz2RZqjy1lJqI4fi
118.809986 AuthorizationResponse: {
"code": "uz2RZqjy1lJqI4fi",
"state": "ftTKy7E140aVJ6oQ"
}
118.810375 ------------ AccessTokenRequest ------------
118.810786 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationCode/
118.810792 --> BODY: code=uz2RZqjy1lJqI4fi&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb
118.810805 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic Q0xJQU5UOTk5OTpjbGlhbnRfOTk5OQ=='}
119.266753 <-- STATUS: 200
119.266807 <-- BODY: {"scope":"","expires_in":3600,"token_type":"Bearer","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJleHAiOjE0NTM3ODcwNTcsImF6cCI6IkNMSUFOVDk5OTkiLCJzdWIiOiJzZWlub3UxMjg0NiIsIm5vbmNlIjoiZ29kbW9yZ29uIiwiYXVkIjoiQ0xJQU5UOTk5OSIsImlzcyI6Imh0dHBzOlwvXC9kdWFsc3RhY2suM2EtdGVzdC0xMjU2OTIyNTMzLmFwLW5vcnRoZWFzdC0xLmVsYi5hbWF6b25hd3MuY29tOjgwODFcLyIsImlhdCI6MTQ1Mzc4MzQ1N30.","access_token":"99DzgTbsAjoa1nrl3vkeXUvz4mnJH42F"}
119.268475 AccessTokenResponse: {
"access_token": "99DzgTbsAjoa1nrl3vkeXUvz4mnJH42F",
"expires_in": 3600,
"id_token": {
"claims": {
"aud": [
"CLIANT9999"
],
"azp": "CLIANT9999",
"exp": 1453787057,
"iat": 1453783457,
"iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
"nonce": "godmorgon",
"sub": "seinou12846"
},
"jws header parameters": {
"alg": "none",
"typ": "JWT"
}
},
"token_type": "Bearer"
}
119.278070 ==== END ====
Result
PASSED