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-21T17:59:24Z

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 -->-->
10.767phase<--<-- 1 --- Webfinger -->-->
10.767not expected to doWebFinger
10.767phase<--<-- 2 --- Discovery -->-->
10.767not expected to doDynamic discovery
10.767phase<--<-- 3 --- Registration -->-->
10.767register
kwargs:{'response_types': ['code token'], 'grant_types': ['authorization_code', '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'}
10.768RegistrationRequest
{
    "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_post"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61401/requests/876669ef2b3891075309a06e00b98e6ace4cfca108af01becb9a804fff95d8c4#zdTMj22Uh600lwjt"
    ],
    "response_types": [
        "code token"
    ]
}
11.2http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
11.2RegistrationResponse
{
    "client_id": "dc-vlZ7e4gxZW6VEcBulK0WPV",
    "client_name": "dc-vlZ7e4gxZW6VEcBulK0WPV",
    "client_secret": "cdvyoHTwp0VldQACJu9pzp",
    "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_post"
    ],
    "refresh_token_rolling_policy": "server_default",
    "response_types": [
        "code token"
    ],
    "scope": "address phone edit openid profile admin email",
    "token_endpoint_auth_method": "client_secret_basic",
    "validate_using_all_eligible_atms": false
}
11.201phase<--<-- 4 --- AsyncAuthn -->-->
11.201AuthorizationRequest
{
    "client_id": "dc-vlZ7e4gxZW6VEcBulK0WPV",
    "nonce": "8y9XM08mzIZniuJu",
    "prompt": [
        "none"
    ],
    "redirect_uri": "https://op.certification.openid.net:61401/authz_post",
    "response_mode": "form_post",
    "response_type": "code token",
    "scope": "openid",
    "state": "xKbMzlf6waE9yqbY"
}
11.201redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=xKbMzlf6waE9yqbY&nonce=8y9XM08mzIZniuJu&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-vlZ7e4gxZW6VEcBulK0WPV
11.201redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=xKbMzlf6waE9yqbY&nonce=8y9XM08mzIZniuJu&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-vlZ7e4gxZW6VEcBulK0WPV
11.766responseForm post
11.766response{'state': 'xKbMzlf6waE9yqbY', 'error': 'login_required'}
11.767response{'state': 'xKbMzlf6waE9yqbY', 'error': 'login_required'}
11.767AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "xKbMzlf6waE9yqbY"
}
11.767AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "xKbMzlf6waE9yqbY"
}
11.767phase<--<-- 5 --- Done -->-->
11.767end
11.768assertionVerifyErrorMessage
11.768conditionverify-error-response: status=OK [Checks that the last response was a JSON encoded error message]
11.768conditionDone: status=OK

Result

PASSED