Test Info

Issuerhttps://oidc-conformance.ping-eng.com:9031
Profile[]
Test IDOP-Response-form_post-Error
Test descriptionThis tests that error responses are also returned by response_mode=form_post
Timestamp2018-09-20T18:40:40Z

Conditions


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

Trace Output

0.0phase<--<-- 0 --- Note -->-->
2.433phase<--<-- 1 --- Webfinger -->-->
2.433not expected to doWebFinger
2.433phase<--<-- 2 --- Discovery -->-->
2.433not expected to doDynamic discovery
2.434phase<--<-- 3 --- Registration -->-->
2.434register
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_post'], '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'}
2.434RegistrationRequest
{
    "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_post"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61401/requests/876669ef2b3891075309a06e00b98e6ace4cfca108af01becb9a804fff95d8c4#lCIOweNIKuLBf3mD"
    ],
    "response_types": [
        "code"
    ]
}
2.765http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
2.765RegistrationResponse
{
    "client_id": "dc-JFz57Z1znF21PQfrCWabUk",
    "client_name": "dc-JFz57Z1znF21PQfrCWabUk",
    "client_secret": "CWov2LIq6MjoKvqokORPa1",
    "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_post"
    ],
    "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
}
2.766phase<--<-- 4 --- AsyncAuthn -->-->
2.766AuthorizationRequest
{
    "client_id": "dc-JFz57Z1znF21PQfrCWabUk",
    "nonce": "OUFXxyx3kRr5OcHe",
    "prompt": [
        "none"
    ],
    "redirect_uri": "https://op.certification.openid.net:61401/authz_post",
    "response_mode": "form_post",
    "response_type": "code",
    "scope": "openid",
    "state": "PdGhfBGSOvNMGnNP"
}
2.766redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=PdGhfBGSOvNMGnNP&nonce=OUFXxyx3kRr5OcHe&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-JFz57Z1znF21PQfrCWabUk
2.766redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=PdGhfBGSOvNMGnNP&nonce=OUFXxyx3kRr5OcHe&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-JFz57Z1znF21PQfrCWabUk
3.281responseForm post
3.282response{'state': 'PdGhfBGSOvNMGnNP', 'error': 'login_required'}
3.282response{'state': 'PdGhfBGSOvNMGnNP', 'error': 'login_required'}
3.282AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "PdGhfBGSOvNMGnNP"
}
3.282AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "PdGhfBGSOvNMGnNP"
}
3.282phase<--<-- 5 --- Done -->-->
3.282end
3.283assertionVerifyErrorMessage
3.283conditionverify-error-response: status=OK [Checks that the last response was a JSON encoded error message]
3.283conditionDone: status=OK

Result

PASSED