Test Info

Issuerhttps://oidc-conformance.ping-eng.com:9031
Profile[]
Test IDOP-Response-code
Test descriptionRequest with response_type=code
Timestamp2018-09-20T18:40:08Z

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.0not expected to doDynamic discovery
0.0phase<--<-- 2 --- Registration -->-->
0.001register
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#kx3NMpngzilZP67u"
    ],
    "response_types": [
        "code"
    ]
}
0.509http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
0.509RegistrationResponse
{
    "client_id": "dc-dUQzne8v16FerLEy0u0X5Y",
    "client_name": "dc-dUQzne8v16FerLEy0u0X5Y",
    "client_secret": "R5Sp20BuaBN56Pdt52ranK",
    "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.51phase<--<-- 3 --- AsyncAuthn -->-->
0.51AuthorizationRequest
{
    "client_id": "dc-dUQzne8v16FerLEy0u0X5Y",
    "nonce": "lx9g2qKPlqciQcnX",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "9zYeP6ayfzit4uz2"
}
0.51redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=9zYeP6ayfzit4uz2&nonce=lx9g2qKPlqciQcnX&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-dUQzne8v16FerLEy0u0X5Y
0.51redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=9zYeP6ayfzit4uz2&nonce=lx9g2qKPlqciQcnX&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-dUQzne8v16FerLEy0u0X5Y
9.537responseResponse URL with query part
9.538response{'code': 'lcxujRjPLrFgJGqI_8kAnh3l5BRVw3lonmloI2_9', 'state': '9zYeP6ayfzit4uz2'}
9.539response{'code': 'lcxujRjPLrFgJGqI_8kAnh3l5BRVw3lonmloI2_9', 'state': '9zYeP6ayfzit4uz2'}
9.539AuthorizationResponse
{
    "code": "lcxujRjPLrFgJGqI_8kAnh3l5BRVw3lonmloI2_9",
    "state": "9zYeP6ayfzit4uz2"
}
9.539phase<--<-- 4 --- Done -->-->
9.539end
9.54assertionVerifyAuthnResponse
9.54conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
9.54conditionDone: status=OK

Result

PASSED