Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-phone
Test descriptionScope requesting phone claims
Timestamp2019-06-17T15:45:02Z

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 -->-->
0provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "authorization_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize",
    "claims_parameter_supported": false,
    "claims_supported": [
        "realmName",
        "preferred_username",
        "given_name",
        "uid",
        "upn",
        "groupIds",
        "employee_id",
        "name",
        "tenantId",
        "mobile_number",
        "department",
        "job_title",
        "family_name",
        "email"
    ],
    "device_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/device_authorize",
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:jwt-bearer",
        "implicit",
        "urn:ietf:params:oauth:grant-type:saml2-bearer",
        "urn:ietf:params:oauth:grant-type:device_code",
        "client_credentials",
        "password",
        "authorization_code",
        "refresh_token"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA-OAEP-256"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "introspect_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/introspect",
    "issuer": "https://isamfed.com:30443/test",
    "jwks_uri": "https://isamfed.com:30443/mga/sps/jwks",
    "name": "OIDCDefinition",
    "poc": "https://isamfed.com:30443/mga/",
    "registration_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "token",
        "id_token",
        "token id_token",
        "code",
        "code id_token",
        "code token id_token",
        "code token",
        "none"
    ],
    "revocation_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/revoke",
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/token",
    "token_endpoint_auth_methods_supported": [
        "private_key_jwt",
        "client_secret_post",
        "client_secret_basic"
    ],
    "user_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/user_authorize",
    "userinfo_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
1phase<--<-- 2 --- Registration -->-->
1register
kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "N0FhbYR7vj1D5ZT4HLJQ",
    "client_id_issued_at": 1560786300,
    "client_secret": "PdhMopdeuAoMF0fOboCB",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "registration_access_token": "0RpSRCrd91vEaxAgy53F",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=N0FhbYR7vj1D5ZT4HLJQ",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "N0FhbYR7vj1D5ZT4HLJQ",
    "nonce": "VWoz7kxhweD2PPWD",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "response_type": "code",
    "scope": "openid phone",
    "state": "cNsYMmJ5l6WVuXGg"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cNsYMmJ5l6WVuXGg&nonce=VWoz7kxhweD2PPWD&response_type=code&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=N0FhbYR7vj1D5ZT4HLJQ
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=cNsYMmJ5l6WVuXGg&nonce=VWoz7kxhweD2PPWD&response_type=code&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=N0FhbYR7vj1D5ZT4HLJQ
2responseResponse URL with query part
2response{'state': 'cNsYMmJ5l6WVuXGg', 'code': '7I0rTOTLlyKO0r6GpnfUNOSNsI0GDd'}
2response{'state': 'cNsYMmJ5l6WVuXGg', 'code': '7I0rTOTLlyKO0r6GpnfUNOSNsI0GDd'}
2AuthorizationResponse
{
    "code": "7I0rTOTLlyKO0r6GpnfUNOSNsI0GDd",
    "state": "cNsYMmJ5l6WVuXGg"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'cNsYMmJ5l6WVuXGg'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': '7I0rTOTLlyKO0r6GpnfUNOSNsI0GDd', 'state': 'cNsYMmJ5l6WVuXGg', 'grant_type': 'authorization_code', 'client_id': 'N0FhbYR7vj1D5ZT4HLJQ'}, 'state': 'cNsYMmJ5l6WVuXGg', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTjBGaGJZUjd2ajFENVpUNEhMSlEiLCAic3ViIjogIk4wRmhiWVI3dmoxRDVaVDRITEpRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI3R1p2cWFlNDFEVmt3SldGY0Q0ekhMQUZ0MnRNVko3ViIsICJleHAiOiAxNTYwNzg2OTAxLCAiaWF0IjogMTU2MDc4NjMwMX0.bBDZ_64OaTMBUNXml4Rminew0r_EDkWUcZTWdYWyxvyuLlHIYKjqtrvJyMzT1WgTeqywi0chKAZaaKx-8fKfupgNTdPiLTfTNRoMcmBSGeWzdkM0FgoDA4ZeBIGL6SPTP52Evd_KSIz51yIbyHeq5xBM14M1xSk3v6ifno-QnuAMqBccH85QORcOuPgL2QP9tXeWlBVeteHSp6V5l4DPXdBN7DpXacW-L-xBkE3A2NtM3nips7CaFhEX_UsVWYjCBbOQXkjnO9SWLU250rKgTVeBWpG4l1GkydWhcJsOV6QZu2ba2-k3XM_cCPEoLukEsksKFYEHCbD4Vh9FQg72Kg",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "7I0rTOTLlyKO0r6GpnfUNOSNsI0GDd",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "state": "cNsYMmJ5l6WVuXGg"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&code=7I0rTOTLlyKO0r6GpnfUNOSNsI0GDd&state=cNsYMmJ5l6WVuXGg&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTjBGaGJZUjd2ajFENVpUNEhMSlEiLCAic3ViIjogIk4wRmhiWVI3dmoxRDVaVDRITEpRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICI3R1p2cWFlNDFEVmt3SldGY0Q0ekhMQUZ0MnRNVko3ViIsICJleHAiOiAxNTYwNzg2OTAxLCAiaWF0IjogMTU2MDc4NjMwMX0.bBDZ_64OaTMBUNXml4Rminew0r_EDkWUcZTWdYWyxvyuLlHIYKjqtrvJyMzT1WgTeqywi0chKAZaaKx-8fKfupgNTdPiLTfTNRoMcmBSGeWzdkM0FgoDA4ZeBIGL6SPTP52Evd_KSIz51yIbyHeq5xBM14M1xSk3v6ifno-QnuAMqBccH85QORcOuPgL2QP9tXeWlBVeteHSp6V5l4DPXdBN7DpXacW-L-xBkE3A2NtM3nips7CaFhEX_UsVWYjCBbOQXkjnO9SWLU250rKgTVeBWpG4l1GkydWhcJsOV6QZu2ba2-k3XM_cCPEoLukEsksKFYEHCbD4Vh9FQg72Kg&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'BtJnOxQIUwx5hwLMDePv', 'refresh_token': 'Za8UjUxxgCq6t67wfc6W1NMSsbhEExquMm5P7FGK', 'scope': 'phone openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.mOQGPhMadylyPV5VoYu9BrKZoM5P4miA0ThLBOzOhb8KN1CXJj7Iz9Duxzxvmot5u_GZNpmFcrdbMzPwY4ZhrVWM2zzPAdegMrk-89wOxvnMS681vpFiFRKK0b3yldcx2QxXTT1NBzkvdAdniL_4juXKu0s7dy09Le9Qowl2sgshaW-GQUmA-h_ZxkIqeVPna_epmTWWWrPaLFpsbegPJNy7HqGzhdKLH3_M9ToDE9KgQkfAwtEdR3XgGDJ9p7F2fuH6Q7gqYmpRLkzdA2pqgEvw4IS7EqMzHqTOeShyC_mrSdZLzOjiK6LQXhYkqnkkPN4RD8ikmkG5fFHT9H4Kxw.lFkh7iDUtTxA-C0Mj6xl9A.g7dSKbR9dWnpFd4FJLQrFPyh2sjK-sreBd6BuEAthIe9Ft07Y85-1S2_cL7b0q8OcY9VomHqJ8Ni-GqR9BuYz2jsHKoW4pTrQcxgqyZ__37447bzdR75SYDv4vLa7x-kszW8iosNHRH-DwH5nErQCCBDT8cnjdB6HvMg-MrR649PyR0h9ddPBxNIzgY-X1hbXjRcfNOOv7Hfjue90Sm8HfKVK1JlMxyo0ip99_j6hIRocdJOfMsAABoty-gZYH8tz39bRqN0INdToJplzhq5SMRadXi4E0aHfxSOcIdrWoYoMdIdsfkBeDoRFKBHbO8SP9CnevwWviXGM5yarz5niLj0vMKcaQfWRDv49jVHF-k_D7etucddUWEhy1YAPwxosmWgDmhAvilzJsGSRNRHvtoJpglQZk62PIplA9B_6Hc-frcXrQkj7yPXwrK8P1klktpmvmjoa65SKkbVbYIYclaIB9uAGWkgJy4zN1dRGG41hyvUOhNll6Tkhxxo2QQGjhL05qhbThRqihpbJLdIWorx8IiRU0YmxjXzC4Gb71tJXBHUHyWWfFXl6ZIusbafLPiUYYWWgzWDSOC6Byb0Irlwi5-P1cSu3jcVsLq2omP6_BP0pNaarJsrLS7DNhwGNqMTNeK7BT_p5HGvFXaFxzhasgOFIKtD8Faf19P_p4TC8pRyqoNNKx5sCEIGG2HpezeY7pZqLRCrk1tRP13_v038MQ-Yf6KfOi62M9HPhB4Rt3TiSEsZiI3K8IebtrfHTQMwzjjloZm75g-P2nNYbSy7v7EOm7ps8fLZV3d0cTB2tGo34hb1Xm2CfbFJOrO0Tsl4Fy3DWDbrqD_BxE86DPP2BnDHvKRbnlbvVgcxrPe09h50DPLqQ1cxeQyRwARI9HugAtzdrf9Mnzv_ZzJv7I1vGIFuN40-RAeBR-epL2MTAGAKzGVIf5YKyibsJVngngROQT5e5tg7PnB9S49Sk1XcS5BR8uCt5KNj3F7is9-yWqwPKMcRC-T7kzXB4fujLMLOYT3ED_axxASaaOzOzH-ctSBi06L9fUzc6q_fx3o.pfu5H4vDDMbqTs5IUTqRxg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "BtJnOxQIUwx5hwLMDePv",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "t4KBO6HWCqXjK08cyzgNPQ",
        "aud": [
            "N0FhbYR7vj1D5ZT4HLJQ"
        ],
        "exp": 1560789721,
        "iat": 1560786301,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "VWoz7kxhweD2PPWD",
        "phone_number": "87654215",
        "phone_number_verified": false,
        "rt_hash": "HULfpTyumcwApjSQLOCTRg",
        "sub": "testuser"
    },
    "refresh_token": "Za8UjUxxgCq6t67wfc6W1NMSsbhEExquMm5P7FGK",
    "scope": "phone openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'cNsYMmJ5l6WVuXGg', 'method': 'GET', 'authn_method': 'bearer_header'}
3request{'body': None}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer BtJnOxQIUwx5hwLMDePv'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
3OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
3phase<--<-- 6 --- Done -->-->
3end
3assertionVerifyScopes
3conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
3assertionCheckHTTPResponse
3conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED