Test Info

Issuerhttps://oidc-conformance.ping-eng.com:9031
Profile[]
Test IDOP-IDToken-c_hash
Test descriptionID Token has c_hash when ID Token and Authorization Code returned from Authorization Endpoint [Hybrid]
Timestamp2018-09-20T23:41:25Z

Conditions


verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
Done: status=OK

Trace Output

0.0phase<--<-- 0 --- Webfinger -->-->
0.0not expected to doWebFinger
0.0phase<--<-- 1 --- Discovery -->-->
0.001not expected to doDynamic discovery
0.001phase<--<-- 2 --- Registration -->-->
0.001register
kwargs:{'response_types': ['code id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61401/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61401/logout'], 'url': 'https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2', 'jwks_uri': 'https://op.certification.openid.net:61401/static/jwks_61401.json'}
0.001RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61401/static/jwks_61401.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61401/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61401/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61401/requests/876669ef2b3891075309a06e00b98e6ace4cfca108af01becb9a804fff95d8c4#jXfrdk5lnEu2WYjE"
    ],
    "response_types": [
        "code id_token"
    ]
}
0.331http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
0.331RegistrationResponse
{
    "client_id": "dc-f67eEhKMqbeqGJCn525KyM",
    "client_name": "dc-f67eEhKMqbeqGJCn525KyM",
    "client_secret": "pUSMUIqdTglrKygKsSKlEU",
    "client_secret_expires_at": 0,
    "grant_access_session_revocation_api": false,
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61401/static/jwks_61401.json",
    "persistent_grant_expiration_type": "server_default",
    "pingaccess_logout_capable": false,
    "redirect_uris": [
        "https://op.certification.openid.net:61401/authz_cb"
    ],
    "refresh_token_rolling_policy": "server_default",
    "response_types": [
        "code id_token"
    ],
    "scope": "address phone edit openid profile admin email",
    "token_endpoint_auth_method": "client_secret_basic",
    "validate_using_all_eligible_atms": false
}
0.331phase<--<-- 3 --- AsyncAuthn -->-->
0.332AuthorizationRequest
{
    "client_id": "dc-f67eEhKMqbeqGJCn525KyM",
    "nonce": "KWpUrtYpKsxLAiet",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "4cvJd6cyL7MV1HJW"
}
0.332redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=4cvJd6cyL7MV1HJW&nonce=KWpUrtYpKsxLAiet&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-f67eEhKMqbeqGJCn525KyM
0.332redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=4cvJd6cyL7MV1HJW&nonce=KWpUrtYpKsxLAiet&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-f67eEhKMqbeqGJCn525KyM
1.842http args{}
2.165responseURL with fragment
2.165responsecode=SepqT5zJGYYuJsSysK0M1QPDtbI01bcG7C4ZL1qB&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6IlJvMmxnRXNPdFdJMlJiRUxLRV85amZvSVRxWSJ9.eyJzdWIiOiJqb2UiLCJhdWQiOiJkYy1mNjdlRWhLTXFiZXFHSkNuNTI1S3lNIiwianRpIjoiakVUTnVFOG90TXZzSVI1aURTZm1UNCIsImlzcyI6Imh0dHBzOi8vb2lkYy1jb25mb3JtYW5jZS5waW5nLWVuZy5jb206OT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iOjE1Mzc0ODUxMjMsImNfaGFzaCI6IkVRUENXcEsxd1dPOUYwYmRoSk5NckEiLCJzX2hhc2giOiJZQ3RTLWh5U3lrY0hOMi1XTlZWTjlBIn0.OhRss8HU6JtKbYhSi3CH0J5c2OejBfVEFimF60gSVrGq7bOEgglz6syPJIS19NxIXvhJXzu6d7ID5bjGDuHsP2ojElSDHdsjTObND7c_8cC95DMIJyNVQpP0mn1-eSXu81WyR3yGE1uWceAVary-CqHhdNmP5HxcDQv3z-1HoZe5duMg5a558GXL-q0mnPOf_M1Zs1aLOxqJk_cxY_aZDsxeaakkS16PaDP1QDNZF-KzAY-RMveWaTLY0Bp5x5uATy1yT4GlxyZZef9CKyDhj-GjjKlScgqMsxFJO7RkEKL-RlWJSnqgW_ZzmWDt_HmwSjAB0UQ7migf-T5GKyKRZA', 'state': '4cvJd6cyL7MV1HJW'}
2.469AuthorizationResponse
{
    "code": "SepqT5zJGYYuJsSysK0M1QPDtbI01bcG7C4ZL1qB",
    "id_token": {
        "aud": [
            "dc-f67eEhKMqbeqGJCn525KyM"
        ],
        "auth_time": 1537485123,
        "c_hash": "EQPCWpK1wWO9F0bdhJNMrA",
        "exp": 1537487184,
        "iat": 1537486884,
        "iss": "https://oidc-conformance.ping-eng.com:9031",
        "jti": "jETNuE8otMvsIR5iDSfmT4",
        "nonce": "KWpUrtYpKsxLAiet",
        "pi.sri": "aJX1Om3gju2AuRyueh9ZuYw9em0",
        "s_hash": "YCtS-hySykcHN2-WNVVN9A",
        "sub": "joe"
    },
    "state": "4cvJd6cyL7MV1HJW"
}
2.469phase<--<-- 4 --- Done -->-->
2.469end
2.47assertionVerifyAuthnResponse
2.47conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
2.47conditionDone: status=OK

Result

PASSED