Test info

Profile: {'openid-configuration': 'no-config', 'response_type': 'code', 'crypto': 'none', 'registration': 'static'}
Timestamp: 2016-01-25T07:33:25Z
Test description: UserInfo Endpoint access with POST and bearer header [Basic, Implicit, Hybrid]
Test ID: OP-UserInfo-Header
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: OK
	description: Checks that the last response was one of a possible set of OpenID Connect Responses
__X:==== END ====__

Trace output


0.000432 ------------ AuthorizationRequest ------------
0.000810 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationEndpoint?scope=openid&state=Oldb12KZQYA2RwJV&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb&response_type=code&client_id=CLIANT9999
0.000815 --> BODY: None
105.382102 <-- state=Oldb12KZQYA2RwJV&code=xT3RjHwAx04mWng4
105.382553 AuthorizationResponse: {
  "code": "xT3RjHwAx04mWng4",
  "state": "Oldb12KZQYA2RwJV"
}
105.382930 ------------ AccessTokenRequest ------------
105.383333 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/AuthorizationCode/
105.383339 --> BODY: code=xT3RjHwAx04mWng4&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60347%2Fauthz_cb
105.383351 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Basic Q0xJQU5UOTk5OTpjbGlhbnRfOTk5OQ=='}
106.124673 <-- STATUS: 200
106.124722 <-- BODY: {"scope":"","expires_in":3600,"token_type":"Bearer","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJleHAiOjE0NTM3MTA4MDMsImF6cCI6IkNMSUFOVDk5OTkiLCJzdWIiOiJzZWlub3UxNDg4NCIsImF1ZCI6IkNMSUFOVDk5OTkiLCJpc3MiOiJodHRwczpcL1wvZHVhbHN0YWNrLjNhLXRlc3QtMTI1NjkyMjUzMy5hcC1ub3J0aGVhc3QtMS5lbGIuYW1hem9uYXdzLmNvbTo4MDgxXC8iLCJpYXQiOjE0NTM3MDcyMDN9.","access_token":"JQnPp4rgKkJ115UjtM765Y5RjjYKnFsO"}
106.126289 AccessTokenResponse: {
  "access_token": "JQnPp4rgKkJ115UjtM765Y5RjjYKnFsO",
  "expires_in": 3600,
  "id_token": {
    "claims": {
      "aud": [
        "CLIANT9999"
      ],
      "azp": "CLIANT9999",
      "exp": 1453710803,
      "iat": 1453707203,
      "iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
      "sub": "seinou14884"
    },
    "jws header parameters": {
      "alg": "none",
      "typ": "JWT"
    }
  },
  "token_type": "Bearer"
}
106.134942 ------------ UserInfoRequest ------------
106.135229 --> URL: http://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/oc_v/UserInfoEndpoint/
106.135234 --> BODY: 
106.135245 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': u'Bearer JQnPp4rgKkJ115UjtM765Y5RjjYKnFsO'}
106.863231 <-- STATUS: 200
107.400290 Available verification keys: [(u'2011-04-29', u'RSA')]
107.400340 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
107.400363 <-- BODY: {"sub":"seinou14884","iss":"https:\/\/dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081\/","aud":"CLIANT9999"}
107.401090 UserInfo: {
  "aud": "CLIANT9999",
  "iss": "https://dualstack.3a-test-1256922533.ap-northeast-1.elb.amazonaws.com:8081/",
  "sub": "seinou14884"
}
107.409950 ==== END ====

Result

PASSED