Test Info

Issuerhttps://oidc-conformance.ping-eng.com:9031
Profile[]
Test IDOP-IDToken-kid
Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Timestamp2018-09-20T18:42:37Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
Done: status=OK

Trace Output

0.0phase<--<-- 0 --- Webfinger -->-->
0.0not expected to doWebFinger
0.0phase<--<-- 1 --- Discovery -->-->
0.0not expected to doDynamic discovery
0.0phase<--<-- 2 --- Registration -->-->
0.0register
kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], '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": [
        "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#taVKEx67FP5xHCVF"
    ],
    "response_types": [
        "code"
    ]
}
0.363http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
0.364RegistrationResponse
{
    "client_id": "dc-ibJ3p2xEmXsICAvJ2tDbir",
    "client_name": "dc-ibJ3p2xEmXsICAvJ2tDbir",
    "client_secret": "qKwLMleEFcuw6lqhVzSEBQ",
    "client_secret_expires_at": 0,
    "grant_access_session_revocation_api": false,
    "grant_types": [
        "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"
    ],
    "scope": "address phone edit openid profile admin email",
    "token_endpoint_auth_method": "client_secret_basic",
    "validate_using_all_eligible_atms": false
}
0.364phase<--<-- 3 --- AsyncAuthn -->-->
0.365AuthorizationRequest
{
    "client_id": "dc-ibJ3p2xEmXsICAvJ2tDbir",
    "nonce": "OzOJMU7fwFtLWb6e",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "TATOlxRgEicOquj4"
}
0.365redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=TATOlxRgEicOquj4&nonce=OzOJMU7fwFtLWb6e&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-ibJ3p2xEmXsICAvJ2tDbir
0.365redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=TATOlxRgEicOquj4&nonce=OzOJMU7fwFtLWb6e&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-ibJ3p2xEmXsICAvJ2tDbir
6.043responseResponse URL with query part
6.044response{'code': 'IGoWbT5ku0D8cMNJUKwaBsyqqMi_abd4MyLqRTnQ', 'state': 'TATOlxRgEicOquj4'}
6.044response{'code': 'IGoWbT5ku0D8cMNJUKwaBsyqqMi_abd4MyLqRTnQ', 'state': 'TATOlxRgEicOquj4'}
6.044AuthorizationResponse
{
    "code": "IGoWbT5ku0D8cMNJUKwaBsyqqMi_abd4MyLqRTnQ",
    "state": "TATOlxRgEicOquj4"
}
6.044phase<--<-- 4 --- AccessToken -->-->
6.044requestop_args: {'state': 'TATOlxRgEicOquj4'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb'}
6.044do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb', 'code': 'IGoWbT5ku0D8cMNJUKwaBsyqqMi_abd4MyLqRTnQ', 'state': 'TATOlxRgEicOquj4', 'grant_type': 'authorization_code', 'client_id': 'dc-ibJ3p2xEmXsICAvJ2tDbir'}, 'state': 'TATOlxRgEicOquj4'}
6.045AccessTokenRequest
{
    "code": "IGoWbT5ku0D8cMNJUKwaBsyqqMi_abd4MyLqRTnQ",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "state": "TATOlxRgEicOquj4"
}
6.045request_urlhttps://oidc-conformance.ping-eng.com:9031/as/token.oauth2
6.045request_http_args{'headers': {'Authorization': 'Basic ZGMtaWJKM3AyeEVtWHNJQ0F2SjJ0RGJpcjpxS3dMTWxlRUZjdXc2bHFoVnpTRUJR', 'Content-Type': 'application/x-www-form-urlencoded'}}
6.045requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&code=IGoWbT5ku0D8cMNJUKwaBsyqqMi_abd4MyLqRTnQ&state=TATOlxRgEicOquj4
6.543http response
url:https://oidc-conformance.ping-eng.com:9031/as/token.oauth2 status_code:200
6.544response{'access_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiXSwiY2xpZW50X2lkX25hbWUiOiJkYy1pYkozcDJ4RW1Yc0lDQXZKMnREYmlyIiwiVXNlcm5hbWUiOiJqb2UiLCJPcmdOYW1lIjoiUGluZyBJZGVudGl0eSBDb3Jwb3JhdGlvbiIsImV4cCI6MTUzNzQ3NjE1N30.g48XSCGWAyke5PO2Z9jYQn1KMT0sckkk461eP1BQ4sSEgAZJjP0IVfKsW30WCgbrqOaXa2f1pnlHB5V17_PjY_eZ6GLMIHUS6R0ZrA-95wDas_wU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AccessTokenResponse
{
    "access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiXSwiY2xpZW50X2lkX25hbWUiOiJkYy1pYkozcDJ4RW1Yc0lDQXZKMnREYmlyIiwiVXNlcm5hbWUiOiJqb2UiLCJPcmdOYW1lIjoiUGluZyBJZGVudGl0eSBDb3Jwb3JhdGlvbiIsImV4cCI6MTUzNzQ3NjE1N30.g48XSCGWAyke5PO2Z9jYQn1KMT0sckkk461eP1BQ4sSEgAZJjP0IVfKsW30WCgbrqOaXa2f1pnlHB5V17_PjY_eZ6GLMIHUS6R0ZrA-95wDas_wUDqjEMd2ZvNZ39UCS5Q1MxnXpmJAzsUcFmu1KOwppFXpaX-a7GyA-heS3uHZqauEM-kVaIBzjRHhF3qnhAbDHjNsY_KjJ3FEOFu-5uzqGY7asaxK69Q7An3rKSQ4OP9o-bEp86Y2jL1m1bOaezYj6OZj_dbtNU9OARK0hcJX_jepvewNoD5Gj2xX5TlgnY6votyST4MwmJj2XlXN-1W5vZ6u4EZ7thg-geMIcSw",
    "expires_in": 7199,
    "id_token": {
        "aud": [
            "dc-ibJ3p2xEmXsICAvJ2tDbir"
        ],
        "auth_time": 1537468955,
        "exp": 1537469256,
        "iat": 1537468956,
        "iss": "https://oidc-conformance.ping-eng.com:9031",
        "jti": "jSYuCbTdSA3cVdTOqF3J3H",
        "nonce": "OzOJMU7fwFtLWb6e",
        "pi.sri": "_Cy3fOw2J4tXLu6yyETBZn6FREQ",
        "s_hash": "JaUNR8ku7x-G5NC1JVC4bg",
        "sub": "joe"
    },
    "token_type": "Bearer"
}
6.925phase<--<-- 5 --- Done -->-->
6.925end
6.925assertionVerifyResponse
6.925conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
6.926assertionVerifySignedIdTokenHasKID
6.926conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
6.926conditionDone: status=OK

Result

PASSED