Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-phone
Test descriptionScope requesting phone claims
Timestamp2019-06-17T15:16: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

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': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61585/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61585/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61585/static/jwks_61585.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "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": "1piET1zrnbhpet1pRuUk",
    "client_id_issued_at": 1560784565,
    "client_secret": "oBcuoWYreVZRyNgLrakX",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "registration_access_token": "eXBUDLDV0xa1AMBHh35I",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=1piET1zrnbhpet1pRuUk",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "1piET1zrnbhpet1pRuUk",
    "nonce": "MWYpIHftpHnTgyhc",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid phone",
    "state": "jAVwNIaOBRFqtMLD"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jAVwNIaOBRFqtMLD&nonce=MWYpIHftpHnTgyhc&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=1piET1zrnbhpet1pRuUk
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jAVwNIaOBRFqtMLD&nonce=MWYpIHftpHnTgyhc&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=1piET1zrnbhpet1pRuUk
2http args{}
3responseURL with fragment
3responseaccess_token=S0UxZynZwYOSb2kiXCTX&state=jAVwNIaOBRFqtMLD&expires_in=3599&token_type=bearer&scope=phone%20openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiw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n2IoEixiC6eFMzJI1S_rwWvSnrNVpX6J1BE_rtR74voWitNnPsJpxwD0ZnrA_H_9QB6wjKhT8s0B08ojg6BaTmHhej2Rh8DqUh2yIyObeJyQBQ8aPRcnQvc7pnmbyvwT9TS98wm3w1JgdkEACf7CEuKhUFsRzUsQXGjVzQ-fifsBN7q2N-7gizeq-X0Q_lffiUzSSyw1HwKvDnRWiCIFDfwOuMI7UhsSeP7fG0z1c3rBDDG1MAjzcrdQXbetTgg8Z_dCVLlB80k_GExqpz0xZ5voR1IIRq_xUViBFN6jP_s-TBrvAEISjjooz4ktlQufJUGgVc4cEqzsvW_lfb6xfAK3flllfRl4dE3o_J2m2FYbWrBO249JQYslmmZsNx.5e7rRWAWtMj-WTi0Zaz3tA
3response{'access_token': 'S0UxZynZwYOSb2kiXCTX', 'state': 'jAVwNIaOBRFqtMLD', 'expires_in': 3599, 'token_type': 'bearer', 'scope': 'phone openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.THpQxXJpniJtKul74hsAC3zfNLE3pg107rsewwLtumM74il9J9e792r44Kh3kz9pDQ7DCM3feLYbpKIueA1RL37R5ZQ4hOjB8eiOkpLldwsC4WXtvBluo02iT8rn90fyKyb055vg-RVAAdVlF7v_TcWY_WNA-IN5juxBcXDuTjSuRuUSPN5A4EvXhZO_Umgc26qNt0NHtP0iDwt6WG2s2NqkWu5zi6KBZJlNfA9H0bnu8SWUqjtzh4tRTqUAEqRS8Oya_47pK4Vuyy9tYIV778hUIVfhDWz_RHZydzdH_BK57E-xwEdm8nWImpJLe-EuINjv1K0xgkIIu5j48ZscDQ.wd_0r4rGNZG3jXH5S-A0hQ.MaZitdYMRlDveI-NYuCA0e_H82ED1_HEreX0sT-vdShti-2grjXXDVunsu70a-fNy0vSyjlD87W5diMhMTxeLCo5muiJza1WxJg5Cj_wzgB5XytmUZDNCNVg_Q6o9yacDKRcxXgm-47xr30ln24_eiysgsVDqlCC69rWe9T3piURREUibzeUSqHkhqJX-UqqmHAva1Xd96mqtdaHogHKO9uEmE8cdk00GZmC4mo9Q5ShmTdIYCwT7VJX9emJyRboHYFo-2OSHjKHz_s3WQGq70Pj_RMdnZcwd_OCCkhqMwizZQybEVWx5Fr-xFTzEuX5irxq35Yr2e7RbLMMnnfy3uM65L5QLss3sM-GohBoJ_J4zERlhTBl2f6VGFHoS2QofBm9lUGfWiqBbpJg4aJIy-7qlp5UBgHrqVE9o0OmM3Ko675xBsifV5YIobG4ouEjlOGwBOU9UTGUyfLOcawY-JD6OzYZMVcV0zIgixT3qDlIb8FMUh5VpQbVD4H9b8ugHSY3NCqF0v1bVkcTgHgJiEBcsYytfO5j2sp276UXfIVNl4sflP_MfBnXuigYJyEdOwcMbNL6Tu1BS20KvVIzOrZRypK486ifJh8ita_fAlCR7dKHmgY1zI5wRgdwp5_kZFn2IoEixiC6eFMzJI1S_rwWvSnrNVpX6J1BE_rtR74voWitNnPsJpxwD0ZnrA_H_9QB6wjKhT8s0B08ojg6BaTmHhej2Rh8DqUh2yIyObeJyQBQ8aPRcnQvc7pnmbyvwT9TS98wm3w1JgdkEACf7CEuKhUFsRzUsQXGjVzQ-fifsBN7q2N-7gizeq-X0Q_lffiUzSSyw1HwKvDnRWiCIFDfwOuMI7UhsSeP7fG0z1c3rBDDG1MAjzcrdQXbetTgg8Z_dCVLlB80k_GExqpz0xZ5voR1IIRq_xUViBFN6jP_s-TBrvAEISjjooz4ktlQufJUGgVc4cEqzsvW_lfb6xfAK3flllfRl4dE3o_J2m2FYbWrBO249JQYslmmZsNx.5e7rRWAWtMj-WTi0Zaz3tA'}
3AuthorizationResponse
{
    "access_token": "S0UxZynZwYOSb2kiXCTX",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "kYfzPImOIaSZbaJdkWTX0g",
        "aud": [
            "1piET1zrnbhpet1pRuUk"
        ],
        "exp": 1560787985,
        "iat": 1560784565,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "MWYpIHftpHnTgyhc",
        "phone_number": "87654215",
        "phone_number_verified": false,
        "sub": "testuser"
    },
    "scope": "phone openid",
    "state": "jAVwNIaOBRFqtMLD",
    "token_type": "bearer"
}
3phase<--<-- 4 --- AccessToken -->-->
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'jAVwNIaOBRFqtMLD', '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 S0UxZynZwYOSb2kiXCTX'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
4OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
4phase<--<-- 6 --- Done -->-->
4end
4assertionVerifyScopes
4conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
4assertionCheckHTTPResponse
4conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
4assertionVerifyResponse
4conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
4conditionDone: status=OK

Result

PASSED