Test Info

Issuerhttps://oidc-conformance.ping-eng.com:9031
Profile[]
Test IDOP-UserInfo-Body
Test descriptionUserInfo Endpoint access with POST and bearer body
Timestamp2018-09-20T18:43:33Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
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.0register
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#RywHCImK4X9ZEGBh"
    ],
    "response_types": [
        "code"
    ]
}
0.411http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
0.412RegistrationResponse
{
    "client_id": "dc-0flZBlTWNE5KQyViXPlruN",
    "client_name": "dc-0flZBlTWNE5KQyViXPlruN",
    "client_secret": "XjNBlpQnWCxdAHU9E3DkbO",
    "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.412phase<--<-- 3 --- AsyncAuthn -->-->
0.412AuthorizationRequest
{
    "client_id": "dc-0flZBlTWNE5KQyViXPlruN",
    "nonce": "yHgPcHYwxJ6IOCIL",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "cdLaLpRBMjOaH4bJ"
}
0.412redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=cdLaLpRBMjOaH4bJ&nonce=yHgPcHYwxJ6IOCIL&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-0flZBlTWNE5KQyViXPlruN
0.412redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=cdLaLpRBMjOaH4bJ&nonce=yHgPcHYwxJ6IOCIL&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-0flZBlTWNE5KQyViXPlruN
9.505responseResponse URL with query part
9.506response{'code': 'rqj0wPi_sN4YQWWZsmBO3jdlspuxaY_nvXdXfsMM', 'state': 'cdLaLpRBMjOaH4bJ'}
9.507response{'code': 'rqj0wPi_sN4YQWWZsmBO3jdlspuxaY_nvXdXfsMM', 'state': 'cdLaLpRBMjOaH4bJ'}
9.507AuthorizationResponse
{
    "code": "rqj0wPi_sN4YQWWZsmBO3jdlspuxaY_nvXdXfsMM",
    "state": "cdLaLpRBMjOaH4bJ"
}
9.507phase<--<-- 4 --- AccessToken -->-->
9.507requestop_args: {'state': 'cdLaLpRBMjOaH4bJ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb'}
9.507do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb', 'code': 'rqj0wPi_sN4YQWWZsmBO3jdlspuxaY_nvXdXfsMM', 'state': 'cdLaLpRBMjOaH4bJ', 'grant_type': 'authorization_code', 'client_id': 'dc-0flZBlTWNE5KQyViXPlruN'}, 'state': 'cdLaLpRBMjOaH4bJ'}
9.507AccessTokenRequest
{
    "code": "rqj0wPi_sN4YQWWZsmBO3jdlspuxaY_nvXdXfsMM",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "state": "cdLaLpRBMjOaH4bJ"
}
9.507request_urlhttps://oidc-conformance.ping-eng.com:9031/as/token.oauth2
9.507request_http_args{'headers': {'Authorization': 'Basic ZGMtMGZsWkJsVFdORTVLUXlWaVhQbHJ1TjpYak5CbHBRbldDeGRBSFU5RTNEa2JP', 'Content-Type': 'application/x-www-form-urlencoded'}}
9.507requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&code=rqj0wPi_sN4YQWWZsmBO3jdlspuxaY_nvXdXfsMM&state=cdLaLpRBMjOaH4bJ
10.185http response
url:https://oidc-conformance.ping-eng.com:9031/as/token.oauth2 status_code:200
10.187response{'access_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiXSwiY2xpZW50X2lkX25hbWUiOiJkYy0wZmxaQmxUV05FNUtReVZpWFBscnVOIiwiVXNlcm5hbWUiOiJqb2UiLCJPcmdOYW1lIjoiUGluZyBJZGVudGl0eSBDb3Jwb3JhdGlvbiIsImV4cCI6MTUzNzQ3NjIxMn0.RZ_IR6EcNsONHlImPVuces4AvFMXLbbCyv3_LucrfrpXMmIY-GCzmEh_RpWSRAMMzD-FRFxKca93zCEmvD8uV0N2z1ecJhnTngOK-5548CF2cTylUy1WoMc7uKVl0KdRm5xmTjK0oSspW-KhKelVgX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I6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiXSwiY2xpZW50X2lkX25hbWUiOiJkYy0wZmxaQmxUV05FNUtReVZpWFBscnVOIiwiVXNlcm5hbWUiOiJqb2UiLCJPcmdOYW1lIjoiUGluZyBJZGVudGl0eSBDb3Jwb3JhdGlvbiIsImV4cCI6MTUzNzQ3NjIxMn0.RZ_IR6EcNsONHlImPVuces4AvFMXLbbCyv3_LucrfrpXMmIY-GCzmEh_RpWSRAMMzD-FRFxKca93zCEmvD8uV0N2z1ecJhnTngOK-5548CF2cTylUy1WoMc7uKVl0KdRm5xmTjK0oSspW-KhKelVgXPxc9nXDNiQb2AeOp7uV5OhDA12lhW3YfaxBiAsfcEAE-v0Y3ZnYtMREwG4GH-7z0xRHCH2SMQLqTz2BkmcKkVFzm1jxjq3NX6DjI4qHyVji0Cgqc9XEueJnJpayGJAMqpWcsNfdzBxrzR_Eowv94HBIsmhRnC5TES0FBopYxfHzSQkX3EuEcNxVXMPLv9RCg",
    "expires_in": 7199,
    "id_token": {
        "aud": [
            "dc-0flZBlTWNE5KQyViXPlruN"
        ],
        "auth_time": 1537469010,
        "exp": 1537469311,
        "iat": 1537469011,
        "iss": "https://oidc-conformance.ping-eng.com:9031",
        "jti": "4vZwF9eVV5dsz87EucBnBC",
        "nonce": "yHgPcHYwxJ6IOCIL",
        "pi.sri": "_Cy3fOw2J4tXLu6yyETBZn6FREQ",
        "s_hash": "xInB8IR5Vphc6FXljSZMDg",
        "sub": "joe"
    },
    "token_type": "Bearer"
}
10.519phase<--<-- 5 --- UserInfo -->-->
10.519do_user_info_request
kwargs:{'state': 'cdLaLpRBMjOaH4bJ', 'method': 'POST', 'authn_method': 'token_in_message_body'}
10.52request{'body': 'access_token=eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiXSwiY2xpZW50X2lkX25hbWUiOiJkYy0wZmxaQmxUV05FNUtReVZpWFBscnVOIiwiVXNlcm5hbWUiOiJqb2UiLCJPcmdOYW1lIjoiUGluZyBJZGVudGl0eSBDb3Jwb3JhdGlvbiIsImV4cCI6MTUzNzQ3NjIxMn0.RZ_IR6EcNsONHlImPVuces4AvFMXLbbCyv3_LucrfrpXMmIY-GCzmEh_RpWSRAMMzD-FRFxKca93zCEmvD8uV0N2z1ecJhnTngOK-5548CF2cTylUy1WoMc7uKVl0KdRm5xmTjK0oSspW-KhKelVgXPxc9nXDNiQb2AeOp7uV5OhDA12lhW3YfaxBiAsfcEAE-v0Y3ZnYtMREwG4GH-7z0xRHCH2SMQLqTz2BkmcKkVFzm1jxjq3NX6DjI4qHyVji0Cgqc9XEueJnJpayGJAMqpWcsNfdzBxrzR_Eowv94HBIsmhRnC5TES0FBopYxfHzSQkX3EuEcNxVXMPLv9RCg'}
10.52request_urlhttps://oidc-conformance.ping-eng.com:9031/idp/userinfo.openid
10.52request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
11.138http response
url:https://oidc-conformance.ping-eng.com:9031/idp/userinfo.openid status_code:200
11.139OpenIDSchema
{
    "sub": "joe"
}
11.139OpenIDSchema
{
    "sub": "joe"
}
11.139phase<--<-- 6 --- Done -->-->
11.139end
11.139assertionVerifyResponse
11.14conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
11.14conditionDone: status=OK

Result

PASSED