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-20T21:21:01Z

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 -->-->
32.259phase<--<-- 1 --- Webfinger -->-->
32.259not expected to doWebFinger
32.259phase<--<-- 2 --- Discovery -->-->
32.259not expected to doDynamic discovery
32.259phase<--<-- 3 --- Registration -->-->
32.259register
kwargs:{'response_types': ['id_token'], 'grant_types': ['implicit'], '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'}
32.26RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "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#ksrVDWk7ujE2Xhl2"
    ],
    "response_types": [
        "id_token"
    ]
}
32.574http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
32.575RegistrationResponse
{
    "client_id": "dc-bwnYI4ktwvsv6Uu7eksuEK",
    "client_name": "dc-bwnYI4ktwvsv6Uu7eksuEK",
    "client_secret": "9Odrqg1LnwGcPfJOSWElQS",
    "client_secret_expires_at": 0,
    "grant_access_session_revocation_api": false,
    "grant_types": [
        "implicit"
    ],
    "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": [
        "id_token"
    ],
    "scope": "address phone edit openid profile admin email",
    "token_endpoint_auth_method": "client_secret_basic",
    "validate_using_all_eligible_atms": false
}
32.575phase<--<-- 4 --- AsyncAuthn -->-->
32.576AuthorizationRequest
{
    "client_id": "dc-bwnYI4ktwvsv6Uu7eksuEK",
    "nonce": "7hgGMM6HAOU8eGw8",
    "prompt": [
        "none"
    ],
    "redirect_uri": "https://op.certification.openid.net:61401/authz_post",
    "response_mode": "form_post",
    "response_type": "id_token",
    "scope": "openid",
    "state": "x7vGGyabcUsArTAI"
}
32.576redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=x7vGGyabcUsArTAI&nonce=7hgGMM6HAOU8eGw8&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-bwnYI4ktwvsv6Uu7eksuEK
32.576redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=x7vGGyabcUsArTAI&nonce=7hgGMM6HAOU8eGw8&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-bwnYI4ktwvsv6Uu7eksuEK
33.106responseForm post
33.107response{'state': 'x7vGGyabcUsArTAI', 'error': 'login_required'}
33.107response{'state': 'x7vGGyabcUsArTAI', 'error': 'login_required'}
33.107AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "x7vGGyabcUsArTAI"
}
33.107AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "x7vGGyabcUsArTAI"
}
33.107phase<--<-- 5 --- Done -->-->
33.107end
33.108assertionVerifyErrorMessage
33.108conditionverify-error-response: status=OK [Checks that the last response was a JSON encoded error message]
33.108conditionDone: status=OK

Result

PASSED