Test Info

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

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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "response_types": [
        "code 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": "FeEvNofcdrMTK8seOALa",
    "client_id_issued_at": 1560784284,
    "client_secret": "35EIgmwIvjk0IubQUnck",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "registration_access_token": "Ia21YkykqzwRA79Iz3s4",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=FeEvNofcdrMTK8seOALa",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "FeEvNofcdrMTK8seOALa",
    "nonce": "lL4eSIhAzBWSqMS3",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid phone",
    "state": "s3dwB3ex0erlkjQb"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=s3dwB3ex0erlkjQb&nonce=lL4eSIhAzBWSqMS3&response_type=code+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=FeEvNofcdrMTK8seOALa
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=s3dwB3ex0erlkjQb&nonce=lL4eSIhAzBWSqMS3&response_type=code+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=FeEvNofcdrMTK8seOALa
2http args{}
2responseURL with fragment
2responseaccess_token=BUdzC8zMj13wNSYvA2I4&state=s3dwB3ex0erlkjQb&expires_in=3599&token_type=bearer&code=flzbQzibY1F6pCGW9FttJ1yPJcyqhR&scope=phone%20openid
2response{'access_token': 'BUdzC8zMj13wNSYvA2I4', 'state': 's3dwB3ex0erlkjQb', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'flzbQzibY1F6pCGW9FttJ1yPJcyqhR', 'scope': 'phone openid'}
2AuthorizationResponse
{
    "access_token": "BUdzC8zMj13wNSYvA2I4",
    "code": "flzbQzibY1F6pCGW9FttJ1yPJcyqhR",
    "expires_in": 3599,
    "scope": "phone openid",
    "state": "s3dwB3ex0erlkjQb",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 's3dwB3ex0erlkjQb'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'flzbQzibY1F6pCGW9FttJ1yPJcyqhR', 'state': 's3dwB3ex0erlkjQb', 'grant_type': 'authorization_code', 'client_id': 'FeEvNofcdrMTK8seOALa'}, 'state': 's3dwB3ex0erlkjQb', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRmVFdk5vZmNkck1USzhzZU9BTGEiLCAic3ViIjogIkZlRXZOb2ZjZHJNVEs4c2VPQUxhIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJwdWNyTGRFSFF3MFBIN0xMN0d4MWlxTkU2RmtiOG51OCIsICJleHAiOiAxNTYwNzg0ODg1LCAiaWF0IjogMTU2MDc4NDI4NX0.nrR5H2WtXYrYXnf29hZwvDOXpAcBoAPtEkIl0YL-W_OFam4r3X_2nDs6RCLzEV5ReVRWOkEzLgY_7dIH23M1f9nESadt_Jh9pteggdw9-OabLMan4OvqjqfkATGU_s53cXD29wy6CG7-L3_fezg_sLOG8oQV37USOFt3iZTJ7zQlD_tjZ6LkKb1JrPkQGK9JYswMcHW3lvmU5ZcImZUjEeSAjzN3vQp5HQXrCGIkS9KEAfgUY1YxVC1TQdsVBkTVkACbwwIv_FH_xRlxddbeWJONALui8XNE4QqxAbDSC1EP4oDpVOIttXka08dBpaL-mTb1W-i9-nK3d3ePffr66w",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "flzbQzibY1F6pCGW9FttJ1yPJcyqhR",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "s3dwB3ex0erlkjQb"
}
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%3A61707%2Fauthz_cb&code=flzbQzibY1F6pCGW9FttJ1yPJcyqhR&state=s3dwB3ex0erlkjQb&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRmVFdk5vZmNkck1USzhzZU9BTGEiLCAic3ViIjogIkZlRXZOb2ZjZHJNVEs4c2VPQUxhIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJwdWNyTGRFSFF3MFBIN0xMN0d4MWlxTkU2RmtiOG51OCIsICJleHAiOiAxNTYwNzg0ODg1LCAiaWF0IjogMTU2MDc4NDI4NX0.nrR5H2WtXYrYXnf29hZwvDOXpAcBoAPtEkIl0YL-W_OFam4r3X_2nDs6RCLzEV5ReVRWOkEzLgY_7dIH23M1f9nESadt_Jh9pteggdw9-OabLMan4OvqjqfkATGU_s53cXD29wy6CG7-L3_fezg_sLOG8oQV37USOFt3iZTJ7zQlD_tjZ6LkKb1JrPkQGK9JYswMcHW3lvmU5ZcImZUjEeSAjzN3vQp5HQXrCGIkS9KEAfgUY1YxVC1TQdsVBkTVkACbwwIv_FH_xRlxddbeWJONALui8XNE4QqxAbDSC1EP4oDpVOIttXka08dBpaL-mTb1W-i9-nK3d3ePffr66w&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'Ev9JXnj4ZmuImIf0mTHq', 'refresh_token': 'VwBxKJD9rlwNkCPlOF523b3PATz7x48nkw1jnPkq', 'scope': 'phone openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.PrCUajJ6hZ8p7yHJmJQgZpcPRB7vqI9IKvl1ceSgBd18lrutMQJmygJ20s0m2plzYHLWTEx2rjVr9FvbWi0IrEUUordoqmWprfHtOX3uYr731vlLxcYpAoSQYzdby9elVtFsAnjK_HVGVNOcRpt6XRPT-oXNI_03tidTADsVQBRQCJudWgkuZCG3z8fk-b1TQ4cXX54vmhQ5m-xAOGkc6cL5RV3VXekP-rjrTAFS9oHQLwlsVuF6aUIreD9VdmlcdbDUXApBKnegpzh7X-VoJ-yT2e32vgS00AcvnJM0Y8YB_CqiXmKjJUxhVq830nR-43mpKZFNhdxE3tEfceOF3Q.PzqzGeTGZgHwE1oM23vANA.EWccge8ELUm-lE6zC2n60JWYjwr_zr3qwazlikkAJsyu4Rp1egT1CoPW_nQJ-5he62gvOX2lKtVKqZBZwh5WIoiWkUsAedv1BLT7r7hEUJYOI-WtTcQQbbiE0M8GdpLeWwjHM3-l02Yf2RQojg4RhxQmwAdJrhYjjNYVjvcp8z-ciFzSEY-6wsor-mwAgEsk5UTDeCbD9hDrBvYPr9aZl0uMoIAbE9hScfvCtmerR_L2BiC4zRJJMMBdPZ4OO49WAXvr-RZecu-mCIOrOO4I3X5LVczlHgC1t0iuyWqLKur0rnvcx3UfZ_tOhdcK7O2hOtUpRLjH6UpMoIEw_hh1Rq28XlWg6bdIAUGdce_05QXP4upKuqAD69sBxzVf5SbQ09DKdbVb4BZwsHH8vvZbkInu0VzsufuXrD6kXVsPQQu89d1rc9M-q-pdPOQzmg407P2VQzJUL-MuBcEyZM8R6VApf0WZgAPA5PN1MYTTgcoEBG1krGwVqIgqPWD8sTh86Ka_qZsYrpE2kSaN94Due_i2w9mURWKxtlhRFxihjGU0GhHfslTrf65YPVB9cjH_dqzfvK24KR3vtU3FXFsLCn5gmjD4SlKkJNGF-oSo4yPdD2kedUB6tGnNRul61EPkH0X7yMDkF1YuGGpBdSpBC_YgdGOdY7MuloyAuRoCjRd6RVspEGXa1-uqdEBa5yoa7Kt17mJcJa_F74iI-qwjHebvQMsirdIS1Qhf89JtXi3sevJ1_Nx27G10aN42uy6xQA2ZLMqHs4LKDnl3lIB8Um3NaP74k50orFwwx5CtjE1l8dQ1jE4jSbn8g-sMDH8NaPxaa_PwgPiJWHMZU4AQmpGw7-yRNU0R3JDsV2TjlRO34p6kz-RU_xofFO0GcRzME009f4pCqoM8Qr2yIsV6Db1LzmBfbm1ZIQZ-sU8jJZfX-Ha9IKz_N9vAH-lZv9_C1UpsUC8DRfjAeZBNtHeWQatj0d_9GIfP2FqIcHpSu26IfOCN8PvvssYZKWCMFlta5t7sQo7Lmk05J960oiD3Uf6oGkkHeuEyAR8MTvCcS0c.wtUN6i8H7H6hyix_W3zQqA', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "Ev9JXnj4ZmuImIf0mTHq",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "ndPNXcMavkZSJ4GZscgWYQ",
        "aud": [
            "FeEvNofcdrMTK8seOALa"
        ],
        "exp": 1560787706,
        "iat": 1560784286,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "lL4eSIhAzBWSqMS3",
        "phone_number": "87654215",
        "phone_number_verified": false,
        "rt_hash": "mob_dPMfLVogdftWv9R6_A",
        "sub": "testuser"
    },
    "refresh_token": "VwBxKJD9rlwNkCPlOF523b3PATz7x48nkw1jnPkq",
    "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': 's3dwB3ex0erlkjQb', '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 Ev9JXnj4ZmuImIf0mTHq'}}
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