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-20T22:36:31Z

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 -->-->
33.006phase<--<-- 1 --- Webfinger -->-->
33.006not expected to doWebFinger
33.006phase<--<-- 2 --- Discovery -->-->
33.006not expected to doDynamic discovery
33.007phase<--<-- 3 --- Registration -->-->
33.007register
kwargs:{'response_types': ['id_token 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'}
33.007RegistrationRequest
{
    "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#BzADYpIVkdq3wxbe"
    ],
    "response_types": [
        "id_token token"
    ]
}
33.333http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
33.333RegistrationResponse
{
    "client_id": "dc-OU4Z1uALZkC4WTBIe1sAZO",
    "client_name": "dc-OU4Z1uALZkC4WTBIe1sAZO",
    "client_secret": "jhTUiSxwF9UtYuOoiv9egx",
    "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 token"
    ],
    "scope": "address phone edit openid profile admin email",
    "token_endpoint_auth_method": "client_secret_basic",
    "validate_using_all_eligible_atms": false
}
33.333phase<--<-- 4 --- AsyncAuthn -->-->
33.334AuthorizationRequest
{
    "client_id": "dc-OU4Z1uALZkC4WTBIe1sAZO",
    "nonce": "oxcz5IyAxnlMNMsq",
    "prompt": [
        "none"
    ],
    "redirect_uri": "https://op.certification.openid.net:61401/authz_post",
    "response_mode": "form_post",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "7x6ItT4Us884R8Po"
}
33.334redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=7x6ItT4Us884R8Po&nonce=oxcz5IyAxnlMNMsq&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-OU4Z1uALZkC4WTBIe1sAZO
33.334redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=7x6ItT4Us884R8Po&nonce=oxcz5IyAxnlMNMsq&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_post&response_mode=form_post&prompt=none&client_id=dc-OU4Z1uALZkC4WTBIe1sAZO
33.767responseForm post
33.767response{'state': '7x6ItT4Us884R8Po', 'error': 'login_required'}
33.768response{'state': '7x6ItT4Us884R8Po', 'error': 'login_required'}
33.768AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "7x6ItT4Us884R8Po"
}
33.768AuthorizationErrorResponse
{
    "error": "login_required",
    "state": "7x6ItT4Us884R8Po"
}
33.768phase<--<-- 5 --- Done -->-->
33.768end
33.769assertionVerifyErrorMessage
33.769conditionverify-error-response: status=OK [Checks that the last response was a JSON encoded error message]
33.769conditionDone: status=OK

Result

PASSED