Test Info

Issuerhttps://oidc-conformance.ping-eng.com:9031
Profile[]
Test IDOP-scope-address
Test descriptionScope requesting address claims
Timestamp2018-09-20T18:50:46Z

Conditions


verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
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.001phase<--<-- 2 --- Registration -->-->
0.001register
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#pUdoeRtOjREq4yrI"
    ],
    "response_types": [
        "code"
    ]
}
0.333http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
0.334RegistrationResponse
{
    "client_id": "dc-eRa3xuLms83MBd48B4ocBb",
    "client_name": "dc-eRa3xuLms83MBd48B4ocBb",
    "client_secret": "tXODjujckZYmECxjDmG9d1",
    "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.334phase<--<-- 3 --- AsyncAuthn -->-->
0.335AuthorizationRequest
{
    "client_id": "dc-eRa3xuLms83MBd48B4ocBb",
    "nonce": "mwaUilTainpPll8t",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "response_type": "code",
    "scope": "openid address",
    "state": "YzRYUyf99vtMofA0"
}
0.335redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=YzRYUyf99vtMofA0&nonce=mwaUilTainpPll8t&response_type=code&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-eRa3xuLms83MBd48B4ocBb
0.335redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=YzRYUyf99vtMofA0&nonce=mwaUilTainpPll8t&response_type=code&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-eRa3xuLms83MBd48B4ocBb
5.31responseResponse URL with query part
5.311response{'code': 'eC3EZEs3-6qC8oxAQ-20YZQ4EcB7vwh0XPhlW9kL', 'state': 'YzRYUyf99vtMofA0'}
5.311response{'code': 'eC3EZEs3-6qC8oxAQ-20YZQ4EcB7vwh0XPhlW9kL', 'state': 'YzRYUyf99vtMofA0'}
5.311AuthorizationResponse
{
    "code": "eC3EZEs3-6qC8oxAQ-20YZQ4EcB7vwh0XPhlW9kL",
    "state": "YzRYUyf99vtMofA0"
}
5.311phase<--<-- 4 --- AccessToken -->-->
5.312requestop_args: {'state': 'YzRYUyf99vtMofA0'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb'}
5.312do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb', 'code': 'eC3EZEs3-6qC8oxAQ-20YZQ4EcB7vwh0XPhlW9kL', 'state': 'YzRYUyf99vtMofA0', 'grant_type': 'authorization_code', 'client_id': 'dc-eRa3xuLms83MBd48B4ocBb'}, 'state': 'YzRYUyf99vtMofA0'}
5.312AccessTokenRequest
{
    "code": "eC3EZEs3-6qC8oxAQ-20YZQ4EcB7vwh0XPhlW9kL",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "state": "YzRYUyf99vtMofA0"
}
5.312request_urlhttps://oidc-conformance.ping-eng.com:9031/as/token.oauth2
5.312request_http_args{'headers': {'Authorization': 'Basic ZGMtZVJhM3h1TG1zODNNQmQ0OEI0b2NCYjp0WE9EanVqY2taWW1FQ3hqRG1HOWQx', 'Content-Type': 'application/x-www-form-urlencoded'}}
5.312requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&code=eC3EZEs3-6qC8oxAQ-20YZQ4EcB7vwh0XPhlW9kL&state=YzRYUyf99vtMofA0
5.648http response
url:https://oidc-conformance.ping-eng.com:9031/as/token.oauth2 status_code:200
5.649response{'access_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtZVJhM3h1TG1zODNNQmQ0OEI0b2NCYiIsIlVzZXJuYW1lIjoiam9lIiwiT3JnTmFtZSI6IlBpbmcgSWRlbnRpdHkgQ29ycG9yYXRpb24iLCJleHAiOjE1Mzc0NzY2NDV9.ax9pF3Y_BLMJVQdrGp0apQG5cBHE6p46WfXXUjqtgRxRk4nRp0BmHPAWqKUHmW0_amnccLUDxubt7pLA_E8c7wglSW9Cth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TsfLV7xTsDcOhBtsHmCcLREM_-0hGRri5pKOHlCglaMr7onyy4bB33--C-ycxQ-bpEL99i31KLjC5z2VOrSOuG3HWk6zZYmPT3xoMkOrGfbtEueeTxhCfgsgGupt8fnP92uBRkeS4GgEw61yHyEEPg4sYeuVLT6xPux2IEGpebarAubwVKdEokLVc5pOAtsMl_9d-jab7B2Eii1Tb_5ipmSSmDwjWPLZSFw', 'token_type': 'Bearer', 'expires_in': 7199}
5.964AccessTokenResponse
{
    "access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtZVJhM3h1TG1zODNNQmQ0OEI0b2NCYiIsIlVzZXJuYW1lIjoiam9lIiwiT3JnTmFtZSI6IlBpbmcgSWRlbnRpdHkgQ29ycG9yYXRpb24iLCJleHAiOjE1Mzc0NzY2NDV9.ax9pF3Y_BLMJVQdrGp0apQG5cBHE6p46WfXXUjqtgRxRk4nRp0BmHPAWqKUHmW0_amnccLUDxubt7pLA_E8c7wglSW9Cth6Sk78po8014OORorUE8xYHW9MdxzNtMbhEcq6d2AdTHHKUJxAHv1p7QUVgJq0BIw0dItPiqG3UNeCyHXEw_FAd4LO02r406SUEMlqf-QxASLylB7E5xpZ8a26kNSkuGh1nAzRJA_AtJlZ2a7RQsE0eOvBnTUGaQ4aNDP9ckoPOQkcCJFX3zbOGJWa5ENWNgJn5TSXwbeS6i827fUQf5pBFqVw44Uo0s5S9EbuxTJuhKL53xVyTRLgdkw",
    "expires_in": 7199,
    "id_token": {
        "address": {
            "country": "USA",
            "formatted": "123 Main Street, Smallville, ME USA 11223",
            "locality": "Smallville",
            "postal_code": "11223",
            "region": "ME",
            "street_address": "123 Main Street"
        },
        "aud": [
            "dc-eRa3xuLms83MBd48B4ocBb"
        ],
        "auth_time": 1537469444,
        "exp": 1537469745,
        "iat": 1537469445,
        "iss": "https://oidc-conformance.ping-eng.com:9031",
        "jti": "ajMhUwbz2Qao6Mg9udpjUP",
        "nonce": "mwaUilTainpPll8t",
        "pi.sri": "_Cy3fOw2J4tXLu6yyETBZn6FREQ",
        "s_hash": "Ds9E-T12KRruKTNXp1BY1Q",
        "sub": "joe"
    },
    "token_type": "Bearer"
}
5.964phase<--<-- 5 --- UserInfo -->-->
5.965do_user_info_request
kwargs:{'state': 'YzRYUyf99vtMofA0', 'method': 'GET', 'authn_method': 'bearer_header'}
5.965request{'body': None}
5.965request_urlhttps://oidc-conformance.ping-eng.com:9031/idp/userinfo.openid
5.965request_http_args{'headers': {'Authorization': 'Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtZVJhM3h1TG1zODNNQmQ0OEI0b2NCYiIsIlVzZXJuYW1lIjoiam9lIiwiT3JnTmFtZSI6IlBpbmcgSWRlbnRpdHkgQ29ycG9yYXRpb24iLCJleHAiOjE1Mzc0NzY2NDV9.ax9pF3Y_BLMJVQdrGp0apQG5cBHE6p46WfXXUjqtgRxRk4nRp0BmHPAWqKUHmW0_amnccLUDxubt7pLA_E8c7wglSW9Cth6Sk78po8014OORorUE8xYHW9MdxzNtMbhEcq6d2AdTHHKUJxAHv1p7QUVgJq0BIw0dItPiqG3UNeCyHXEw_FAd4LO02r406SUEMlqf-QxASLylB7E5xpZ8a26kNSkuGh1nAzRJA_AtJlZ2a7RQsE0eOvBnTUGaQ4aNDP9ckoPOQkcCJFX3zbOGJWa5ENWNgJn5TSXwbeS6i827fUQf5pBFqVw44Uo0s5S9EbuxTJuhKL53xVyTRLgdkw'}}
6.289http response
url:https://oidc-conformance.ping-eng.com:9031/idp/userinfo.openid status_code:200
6.29OpenIDSchema
{
    "address": {
        "country": "USA",
        "formatted": "123 Main Street, Smallville, ME USA 11223",
        "locality": "Smallville",
        "postal_code": "11223",
        "region": "ME",
        "street_address": "123 Main Street"
    },
    "sub": "joe"
}
6.29OpenIDSchema
{
    "address": {
        "country": "USA",
        "formatted": "123 Main Street, Smallville, ME USA 11223",
        "locality": "Smallville",
        "postal_code": "11223",
        "region": "ME",
        "street_address": "123 Main Street"
    },
    "sub": "joe"
}
6.29phase<--<-- 6 --- Done -->-->
6.29end
6.29assertionVerifyScopes
6.291conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
6.291assertionCheckHTTPResponse
6.291conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
6.291assertionVerifyResponse
6.292conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
6.292conditionDone: status=OK

Result

PASSED