Test Info

Issuerhttps://idp.armls.com
Profile[]
Test IDOP-scope-address
Test descriptionScope requesting address claims
Timestamp2019-02-21T22:11:58Z

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

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0not expected to doDynamic discovery
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "op.certification.openid.net",
    "nonce": "GMVgWtxOGh418U5i",
    "redirect_uri": "https://op.certification.openid.net:61504/authz_cb",
    "response_type": "code",
    "scope": "openid address",
    "state": "kqfLhbA5jJnS1meD"
}
0redirect urlhttps://idp.armls.com/connect/authorize?state=kqfLhbA5jJnS1meD&nonce=GMVgWtxOGh418U5i&response_type=code&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61504%2Fauthz_cb&client_id=op.certification.openid.net
0redirecthttps://idp.armls.com/connect/authorize?state=kqfLhbA5jJnS1meD&nonce=GMVgWtxOGh418U5i&response_type=code&scope=openid+address&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61504%2Fauthz_cb&client_id=op.certification.openid.net
0responseResponse URL with query part
0response{'code': '43058c7aa1434a227d752db0469b6c3fedd41fd305119f25e0e53f209931492f', 'scope': 'openid address', 'state': 'kqfLhbA5jJnS1meD', 'session_state': 'CNYdiO-7kFsRaG1jTCHgod7OqQ72WMqrPyFafCOSqrQ.9afdf0c4cead3c616d4c789339ba41d0'}
0response{'code': '43058c7aa1434a227d752db0469b6c3fedd41fd305119f25e0e53f209931492f', 'scope': 'openid address', 'state': 'kqfLhbA5jJnS1meD', 'session_state': 'CNYdiO-7kFsRaG1jTCHgod7OqQ72WMqrPyFafCOSqrQ.9afdf0c4cead3c616d4c789339ba41d0'}
0AuthorizationResponse
{
    "code": "43058c7aa1434a227d752db0469b6c3fedd41fd305119f25e0e53f209931492f",
    "scope": "openid address",
    "session_state": "CNYdiO-7kFsRaG1jTCHgod7OqQ72WMqrPyFafCOSqrQ.9afdf0c4cead3c616d4c789339ba41d0",
    "state": "kqfLhbA5jJnS1meD"
}
0phase<--<-- 4 --- AccessToken -->-->
0requestop_args: {'state': 'kqfLhbA5jJnS1meD'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61504/authz_cb'}
0do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61504/authz_cb', 'code': '43058c7aa1434a227d752db0469b6c3fedd41fd305119f25e0e53f209931492f', 'state': 'kqfLhbA5jJnS1meD', 'grant_type': 'authorization_code', 'client_id': 'op.certification.openid.net'}, 'state': 'kqfLhbA5jJnS1meD', 'authn_method': 'client_secret_basic'}
0AccessTokenRequest
{
    "code": "43058c7aa1434a227d752db0469b6c3fedd41fd305119f25e0e53f209931492f",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61504/authz_cb",
    "state": "kqfLhbA5jJnS1meD"
}
0request_urlhttps://idp.armls.com/connect/token
0request_http_args{'headers': {'Authorization': 'Basic b3AuY2VydGlmaWNhdGlvbi5vcGVuaWQubmV0Om9wLmNlcnRpZmljYXRpb24ub3BlbmlkLm5ldA==', 'Content-Type': 'application/x-www-form-urlencoded'}}
0requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61504%2Fauthz_cb&code=43058c7aa1434a227d752db0469b6c3fedd41fd305119f25e0e53f209931492f&state=kqfLhbA5jJnS1meD
1http response
url:https://idp.armls.com/connect/token status_code:200
1response{'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IkUzOEMwRDRBMzgwNkI1NTMxQTRFN0Y3MTNDQ0ZBMjI2NEE3N0FCNDEiLCJ0eXAiOiJKV1QiLCJ4N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1BNDMzLURDRDNBN0VCN0I4OCIsImF1dGhfdGltZSI6MTU1MDc4NjgwOCwiaWRwIjoibG9jYWwiLCJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImFtciI6WyJleHRlcm5hbCJdfQ.hDGTKsrUO8tDX_P_pOXw8oY7gQge5iLsOMz3AplGZRiq7BucttLT-UnURxKoTlTq2wxZKDxPn3vdrL-8rY-54niA4115ebsi-D0Ptr5cnktHYK4dTQu2t-1Si03ekbsll23xNse0sAZuSz4Seq-kGBxPfwd5rLsJ6K5t0o7hSvrkq4ytPDmm9G2IQ_utA1rGF7hlEd3pSAn6yY7pdHTbeJ8yPiOK1aTS5Zn4hW5rU9Cltkow8XWHKxj6rdAK8Bptsz6oVDuVvl2sSTtT4BG3HOWXpaMvXoSXN5lyoPlUc0Q1-ZNHj4Np3UYGXafcSPQrG84vTEAaKSW2EE2gxCtcHg",
    "expires_in": 3600,
    "id_token": {
        "amr": [
            "external"
        ],
        "at_hash": "e6ITP3PcWXUwtBHjqA83lQ",
        "aud": [
            "op.certification.openid.net"
        ],
        "auth_time": 1550786808,
        "exp": 1550787417,
        "iat": 1550787117,
        "idp": "local",
        "iss": "https://idp.armls.com",
        "nbf": 1550787117,
        "nonce": "GMVgWtxOGh418U5i",
        "sid": "e974339f1d3ceafa2a5747baf803b54a",
        "sub": "02051675-7DD3-4469-A433-DCD3A7EB7B88"
    },
    "token_type": "Bearer"
}
1jws header{'alg': 'RS256', 'kid': 'E38C0D4A3806B5531A4E7F713CCFA2264A77AB41', 'typ': 'JWT', 'x5t': '44wNSjgGtVMaTn9xPM-iJkp3q0E'}
1phase<--<-- 5 --- UserInfo -->-->
1do_user_info_request
kwargs:{'state': 'kqfLhbA5jJnS1meD', 'method': 'GET', 'authn_method': 'bearer_header'}
1request{'body': None}
1request_urlhttps://idp.armls.com/connect/userinfo
1request_http_args{'headers': {'Authorization': 'Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkUzOEMwRDRBMzgwNkI1NTMxQTRFN0Y3MTNDQ0ZBMjI2NEE3N0FCNDEiLCJ0eXAiOiJKV1QiLCJ4NXQiOiI0NHdOU2pnR3RWTWFUbjl4UE0taUprcDNxMEUifQ.eyJuYmYiOjE1NTA3ODcxMTcsImV4cCI6MTU1MDc5MDcxNywiaXNzIjoiaHR0cHM6Ly9pZHAuYXJtbHMuY29tIiwiYXVkIjoiaHR0cHM6Ly9pZHAuYXJtbHMuY29tL3Jlc291cmNlcyIsImNsaWVudF9pZCI6Im9wLmNlcnRpZmljYXRpb24ub3BlbmlkLm5ldCIsInN1YiI6IjAyMDUxNjc1LTdERDMtNDQ2OS1BNDMzLURDRDNBN0VCN0I4OCIsImF1dGhfdGltZSI6MTU1MDc4NjgwOCwiaWRwIjoibG9jYWwiLCJzY29wZSI6WyJvcGVuaWQiLCJhZGRyZXNzIl0sImFtciI6WyJleHRlcm5hbCJdfQ.hDGTKsrUO8tDX_P_pOXw8oY7gQge5iLsOMz3AplGZRiq7BucttLT-UnURxKoTlTq2wxZKDxPn3vdrL-8rY-54niA4115ebsi-D0Ptr5cnktHYK4dTQu2t-1Si03ekbsll23xNse0sAZuSz4Seq-kGBxPfwd5rLsJ6K5t0o7hSvrkq4ytPDmm9G2IQ_utA1rGF7hlEd3pSAn6yY7pdHTbeJ8yPiOK1aTS5Zn4hW5rU9Cltkow8XWHKxj6rdAK8Bptsz6oVDuVvl2sSTtT4BG3HOWXpaMvXoSXN5lyoPlUc0Q1-ZNHj4Np3UYGXafcSPQrG84vTEAaKSW2EE2gxCtcHg'}}
1http response
url:https://idp.armls.com/connect/userinfo status_code:200
1OpenIDSchema
{
    "address": {
        "country": "USA",
        "locality": "Tempe",
        "postal_code": "85281",
        "region": "Arizona",
        "street_address": " 130 S Priest Dr."
    },
    "email": "sbaker@armls.com",
    "entityId": "124113",
    "family_name": "Baker",
    "given_name": "Stephen",
    "memberType": "Agent",
    "name": "bsteve",
    "preferred_username": "bsteve",
    "sub": "02051675-7DD3-4469-A433-DCD3A7EB7B88"
}
1OpenIDSchema
{
    "address": {
        "country": "USA",
        "locality": "Tempe",
        "postal_code": "85281",
        "region": "Arizona",
        "street_address": " 130 S Priest Dr."
    },
    "email": "sbaker@armls.com",
    "entityId": "124113",
    "family_name": "Baker",
    "given_name": "Stephen",
    "memberType": "Agent",
    "name": "bsteve",
    "preferred_username": "bsteve",
    "sub": "02051675-7DD3-4469-A433-DCD3A7EB7B88"
}
1phase<--<-- 6 --- Done -->-->
1end
1assertionVerifyScopes
1conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
1assertionCheckHTTPResponse
1conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
1assertionVerifyResponse
1conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
1conditionDone: status=OK

Result

PASSED