Test Info

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

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.0phase<--<-- 2 --- Registration -->-->
0.001register
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_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": [
        "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_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61401/requests/876669ef2b3891075309a06e00b98e6ace4cfca108af01becb9a804fff95d8c4#59BNfXLEUfqdkjRJ"
    ],
    "response_types": [
        "code token"
    ]
}
0.336http response
url:https://oidc-conformance.ping-eng.com:9031/as/clients.oauth2 status_code:201
0.337RegistrationResponse
{
    "client_id": "dc-FiQtTyGw1JR9MDbF9KIvBN",
    "client_name": "dc-FiQtTyGw1JR9MDbF9KIvBN",
    "client_secret": "6TxJC6OJKDeOdF6xBl8cxz",
    "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_cb"
    ],
    "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
}
0.337phase<--<-- 3 --- AsyncAuthn -->-->
0.338AuthorizationRequest
{
    "client_id": "dc-FiQtTyGw1JR9MDbF9KIvBN",
    "nonce": "k4wRQFKA9sSwRSer",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "response_type": "code token",
    "scope": "openid address",
    "state": "0oxanuusnMTVi91M"
}
0.338redirect urlhttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=0oxanuusnMTVi91M&nonce=k4wRQFKA9sSwRSer&response_type=code+token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-FiQtTyGw1JR9MDbF9KIvBN
0.338redirecthttps://oidc-conformance.ping-eng.com:9031/as/authorization.oauth2?state=0oxanuusnMTVi91M&nonce=k4wRQFKA9sSwRSer&response_type=code+token&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&client_id=dc-FiQtTyGw1JR9MDbF9KIvBN
2.072http args{}
2.423responseURL with fragment
2.423responseaccess_token=eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtRmlRdFR5R3cxSlI5TURiRjlLSXZCTiIsImFnaWQiOiJwM052Wk1ZRGZGR1lRQldWZDlVWm9sb0JSZVdTdU1BQiIsIlVzZXJuYW1lIjoiam9lIiwiT3Jn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PgCKSs0Tq9h3eNkhWmmYv-xoYGaAGh3GtctzdX8LKeH7tGSdJTsuX_mrGw', 'code': 'jKa4y1t3BXTM2V5O_IDWryrVAoCw6kpFyBE95jR8', 'state': '0oxanuusnMTVi91M', 'token_type': 'Bearer', 'expires_in': 7199}
2.424AuthorizationResponse
{
    "access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtRmlRdFR5R3cxSlI5TURiRjlLSXZCTiIsImFnaWQiOiJwM052Wk1ZRGZGR1lRQldWZDlVWm9sb0JSZVdTdU1BQiIsIlVzZXJuYW1lIjoiam9lIiwiT3JnTmFtZSI6IlBpbmcgSWRlbnRpdHkgQ29ycG9yYXRpb24iLCJleHAiOjE1Mzc1NjEzMjZ9.nDAAK--TRtPfeqcA5u7_HgzYWu2Ma0SGp4RmJrUTR-AzMYwGr8DIf6fzigttLDJ1PxakIGr3HL-4snFZxyAerh2tUfkQNQumIYXpA5gEb_HKt6k9vW4464Cs48sLzQWuILnpvF7aqp4iKBNEES-kWTH5IuB4YrRnj1awC6nbLGhj5QcP2S9vhXfr1mjeabdOEY16lmKARzQOGyFgp0ZEJQUnQybqChnffBFXP0heR_yT70y7ho26YYxXoleWQOvV0gp5BkgUpNLuYtfNw3gGX1RT0gjTPgCKSs0Tq9h3eNkhWmmYv-xoYGaAGh3GtctzdX8LKeH7tGSdJTsuX_mrGw",
    "code": "jKa4y1t3BXTM2V5O_IDWryrVAoCw6kpFyBE95jR8",
    "expires_in": 7199,
    "state": "0oxanuusnMTVi91M",
    "token_type": "Bearer"
}
2.424phase<--<-- 4 --- AccessToken -->-->
2.424requestop_args: {'state': '0oxanuusnMTVi91M'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb'}
2.424do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61401/authz_cb', 'code': 'jKa4y1t3BXTM2V5O_IDWryrVAoCw6kpFyBE95jR8', 'state': '0oxanuusnMTVi91M', 'grant_type': 'authorization_code', 'client_id': 'dc-FiQtTyGw1JR9MDbF9KIvBN'}, 'state': '0oxanuusnMTVi91M'}
2.424AccessTokenRequest
{
    "code": "jKa4y1t3BXTM2V5O_IDWryrVAoCw6kpFyBE95jR8",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61401/authz_cb",
    "state": "0oxanuusnMTVi91M"
}
2.424request_urlhttps://oidc-conformance.ping-eng.com:9031/as/token.oauth2
2.424request_http_args{'headers': {'Authorization': 'Basic ZGMtRmlRdFR5R3cxSlI5TURiRjlLSXZCTjo2VHhKQzZPSktEZU9kRjZ4Qmw4Y3h6', 'Content-Type': 'application/x-www-form-urlencoded'}}
2.424requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61401%2Fauthz_cb&code=jKa4y1t3BXTM2V5O_IDWryrVAoCw6kpFyBE95jR8&state=0oxanuusnMTVi91M
2.782http response
url:https://oidc-conformance.ping-eng.com:9031/as/token.oauth2 status_code:200
2.783response{'access_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtRmlRdFR5R3cxSlI5TURiRjlLSXZCTiIsIlVzZXJuYW1lIjoiam9lIiwiT3JnTmFtZSI6IlBpbmcgSWRlbnRpdHkgQ29ycG9yYXRpb24iLCJleHAiOjE1Mzc1NjEzMjd9.U5U13hAsn5aLL8BwegtstG68D0jFWyGlKL_tPx7VUw-KupxyXeXxG4L8xPrudPMvMiOdJAMPHALXM9HBHM9QtO_S8zPSuG7oxMPQgg0IMIZCA0h95q8tZP_2D8zyo53biiI-8rTF7q1PL4kyUC-HCrdD-LlrQuIGgV7y-Ffi6uQhJuMddLbrt-0X0TPfMuO1g7MWm8MLdReKUKXLvSqhdwtTa0I5cXDf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hyvRW3vfvws17rWhxR4UB6V1MYGmceweW0JqGDwb_v11StPA7DuQV_JIdYYNco2CNrZuKdgwFjcB2A02JBIptPjmwrYR3iVVzE733to6eB4UN9DtwnkOHUm342J1N9w', 'token_type': 'Bearer', 'expires_in': 7199}
3.087AccessTokenResponse
{
    "access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtRmlRdFR5R3cxSlI5TURiRjlLSXZCTiIsIlVzZXJuYW1lIjoiam9lIiwiT3JnTmFtZSI6IlBpbmcgSWRlbnRpdHkgQ29ycG9yYXRpb24iLCJleHAiOjE1Mzc1NjEzMjd9.U5U13hAsn5aLL8BwegtstG68D0jFWyGlKL_tPx7VUw-KupxyXeXxG4L8xPrudPMvMiOdJAMPHALXM9HBHM9QtO_S8zPSuG7oxMPQgg0IMIZCA0h95q8tZP_2D8zyo53biiI-8rTF7q1PL4kyUC-HCrdD-LlrQuIGgV7y-Ffi6uQhJuMddLbrt-0X0TPfMuO1g7MWm8MLdReKUKXLvSqhdwtTa0I5cXDfH-iOYfpQwiNxw7nw8GXO14v7CS4nHdeLnwdwZHCff6RQm79Gt9HaKAB8rdl0cGGdaAhOvNbFK-6UJzahav7n4QZyZCnh3o7GaOXqtlERh0Le6CDVrTDu1w",
    "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"
        },
        "at_hash": "Q1QrFaI3XdWryUUazAtjvg",
        "aud": [
            "dc-FiQtTyGw1JR9MDbF9KIvBN"
        ],
        "auth_time": 1537552881,
        "exp": 1537554426,
        "iat": 1537554126,
        "iss": "https://oidc-conformance.ping-eng.com:9031",
        "jti": "U68uQK4tVM8fvl8feE21Eu",
        "nonce": "k4wRQFKA9sSwRSer",
        "pi.sri": "6C8ZP9ZF-qSKUCdMNRANuwv3or0",
        "s_hash": "MYTkimruZX0M0bQsC80LNA",
        "sub": "joe"
    },
    "token_type": "Bearer"
}
3.087phase<--<-- 5 --- UserInfo -->-->
3.087do_user_info_request
kwargs:{'state': '0oxanuusnMTVi91M', 'method': 'GET', 'authn_method': 'bearer_header'}
3.087request{'body': None}
3.087request_urlhttps://oidc-conformance.ping-eng.com:9031/idp/userinfo.openid
3.087request_http_args{'headers': {'Authorization': 'Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6ImsxIn0.eyJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImNsaWVudF9pZF9uYW1lIjoiZGMtRmlRdFR5R3cxSlI5TURiRjlLSXZCTiIsIlVzZXJuYW1lIjoiam9lIiwiT3JnTmFtZSI6IlBpbmcgSWRlbnRpdHkgQ29ycG9yYXRpb24iLCJleHAiOjE1Mzc1NjEzMjd9.U5U13hAsn5aLL8BwegtstG68D0jFWyGlKL_tPx7VUw-KupxyXeXxG4L8xPrudPMvMiOdJAMPHALXM9HBHM9QtO_S8zPSuG7oxMPQgg0IMIZCA0h95q8tZP_2D8zyo53biiI-8rTF7q1PL4kyUC-HCrdD-LlrQuIGgV7y-Ffi6uQhJuMddLbrt-0X0TPfMuO1g7MWm8MLdReKUKXLvSqhdwtTa0I5cXDfH-iOYfpQwiNxw7nw8GXO14v7CS4nHdeLnwdwZHCff6RQm79Gt9HaKAB8rdl0cGGdaAhOvNbFK-6UJzahav7n4QZyZCnh3o7GaOXqtlERh0Le6CDVrTDu1w'}}
3.414http response
url:https://oidc-conformance.ping-eng.com:9031/idp/userinfo.openid status_code:200
3.415OpenIDSchema
{
    "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"
}
3.415OpenIDSchema
{
    "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"
}
3.415phase<--<-- 6 --- Done -->-->
3.415end
3.416assertionVerifyScopes
3.416conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
3.416assertionCheckHTTPResponse
3.416conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
3.417assertionVerifyResponse
3.417conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3.417conditionDone: status=OK

Result

PASSED