Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-email
Test descriptionScope requesting email claims
Timestamp2019-06-18T04:15:34Z

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'}
0http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "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": [
        "A128KW"
    ],
    "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"
}
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "xLvL551844AE0xZn",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid email",
    "state": "7ZUrRdDmboeM3pEV"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=7ZUrRdDmboeM3pEV&nonce=xLvL551844AE0xZn&response_type=code+id_token+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=7ZUrRdDmboeM3pEV&nonce=xLvL551844AE0xZn&response_type=code+id_token+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=beKSqz5KJZH5dNQOWnKS&state=7ZUrRdDmboeM3pEV&expires_in=3599&token_type=bearer&code=5jokwYq3KvuJSFRYcANxWhRnvQgAOK&scope=openid%20email&id_token=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ghE7kslPLykk2_Lr1Vpk2wBrCAz8UgxT_KRiO43w1fprdNRy1_h74C4aal0W9f43EDaAk-FgE1E3oWv0s1zKHpjwF-X3HfQ6RNdOGnSTXZG_VonnTPjC2d3uA.GNngP_IJ7uHBXsnrW6cRtQ
2response{'access_token': 'beKSqz5KJZH5dNQOWnKS', 'state': '7ZUrRdDmboeM3pEV', 'expires_in': 3599, 'token_type': 'bearer', 'code': '5jokwYq3KvuJSFRYcANxWhRnvQgAOK', 'scope': 'openid email', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.eCSYBHnNGgnqVvoy6FXBva_beUwxitt90bdbHhsRxd-ks5bCbtYt7Q.Zc2EhjuCUQQb7kxyHGogOg.-7dHFw_okcm_DXclQL70jpp2r0hmBg3rE2oVLZsxhNYRJy5CsC4mbtTI1mSH754EUaNZk3NdlrjMr0EYQYozPf9VoiPWHfX51U8DANDutPNs956Y00V1q1gRcukaBVTfXzHBJCRUVJSxQW4K4K0kkf1eRTCNFCOZCvnw26itpcDrF3qVnDeK37EPiXerurOGVKx7i01vHRUbyPpuWtYc0wi32fcPxE94ZFy_Rtl_wmEVov3L7fsWS-lwQlsJUnII2Vi9lUFFxUQEY2E7cFoPi7I_LSYunbdSK-Z43QQCiP_qLXCGeQl8vA6cHF9GTmrvUA4m1iRtY5SKhI_v6N2vLGNrrdDIFbh5yyAycAE_YAnjOyP5kFQzRBd5m8zQRzVEQyR7aHe9QXSV9ND4uJNXp-_4smIFq45qi3J2DbGSm8c68ARHJsCAfKkCCkQg4Ve6_z0VxMzcnodSOrIOSG8JlZCP9ZsSCT0bZFyut3tLBWGyX-l8vRUpg2fflIRFrjcNXtlV-eYeNy6JwZc0fLftVL-advqPH2uSPxBg_ipwflomm9p_tr2zHrKhEYz2b2QspqKUKp9HgRGJrAM13pEUx_cUmlI9fPHrGvB-6cHzyD0R7tbWl7sDQE4O2BTEAzFJYV8QTG0O_Fo8Wk7XpZntTXTUDbbkYFh-lEcfzknZtI3YwuXx4MrhoWgm253F-CttGS1hokmFKldlA75pjPW5YWEQnTRTxX2K8qvF5gRI5CsNdrqlp5bOSD_Fhi2fwiskBFse891iNHmKDvLxa2vbZnhWc0nQ-GqESZ9JtgblCWR6zA0gefdeZnk9MdvLZy-J4MNEhcZrNXrz6Pz1xJlWmN3pkv8o76YqMSIFvPtASuJKfFzFNbCCc2Gtn-Gz4hkOfOxULMdB6UQ2woG7mXp0CGKAiidtlghE7kslPLykk2_Lr1Vpk2wBrCAz8UgxT_KRiO43w1fprdNRy1_h74C4aal0W9f43EDaAk-FgE1E3oWv0s1zKHpjwF-X3HfQ6RNdOGnSTXZG_VonnTPjC2d3uA.GNngP_IJ7uHBXsnrW6cRtQ'}
2AuthorizationResponse
{
    "access_token": "beKSqz5KJZH5dNQOWnKS",
    "code": "5jokwYq3KvuJSFRYcANxWhRnvQgAOK",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "2LadmM0JyfPCrOZ9PqxDbw",
        "aud": [
            "clientID"
        ],
        "c_hash": "58OUBjKLGp0l4PcJODxIYg",
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560834752,
        "iat": 1560831332,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "xLvL551844AE0xZn",
        "sub": "testuser"
    },
    "scope": "openid email",
    "state": "7ZUrRdDmboeM3pEV",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': '7ZUrRdDmboeM3pEV'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': '5jokwYq3KvuJSFRYcANxWhRnvQgAOK', 'state': '7ZUrRdDmboeM3pEV', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': '7ZUrRdDmboeM3pEV', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "5jokwYq3KvuJSFRYcANxWhRnvQgAOK",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "state": "7ZUrRdDmboeM3pEV"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&code=5jokwYq3KvuJSFRYcANxWhRnvQgAOK&state=7ZUrRdDmboeM3pEV
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': '6U3xhNPPibnMyuJKlYS9', 'refresh_token': '6SlnztV4Kw8PSakac0bh1wcEtpnWD8yQQc8zwS7J', 'scope': 'openid email', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.vINjyTBkMwa82b1W_XpxoT8zQPq4WQV7ffs_SkllTGi2J1J4fnUhFA.7jXytcKdLmj5zHXiBtXPqQ.J2WHaOOgj2wqPrf__vnSKsQYhYtcFe8sa6XohTCX3eicnv2IOgpd87ZoPSJz8g2gf5s8baafdKQn-vUQ-okZHOk1PIXROzAy7Xl4xjWmIOjoaS7-DUyI-OuUWElZKx18hjKWt1IqpXDjrUrfchYy91eVbVp6ZxYFUWrqM7fGRbou39GC6gujXw4RdT0V_wG615doFLqZzBTVul2Q7A4eB5_5PONpPUsFrQ9fWEjx-JBVthNi7G0jpXZrJS3-OrnzzxVwvjgzy4N-X-JVGTi3A2mqMVtw4Exi7_J7NqGSoZWspzB9XKHHjdq8YPR9x33RZptW3gvK_BW7dwogl1B9jbVl_f-NW0MW4CD6pYXsX9kKg_EDzb1kXCJwhujR5bX4Wz2h2EEPuJbwc9sZFqCqmDJFe1EwVy5wo2rvntJ_NdrHNCucgE7JFy3oIOa_TQ-TL_9ADQ2bta1QZmSE8vLcl9rY69TrQWYKkK4ksY2iVzIoLteMyk0k0npARmpkb0tdWhzGAzEYE7MrFX5Rv9BAqj0pGXduKaWj0dKIwZvO_fc2U0kxRrAclk7Xr8K6lSDRB7eRxJlJ5id14jPMWoVXuY21KQsJsyS4RbDhV5F9ymWUqYo5v5cK8OpXBA8pLdDUCdy_nNRyuRlEic5JPB6LjEwz7epQNj4oBQjLlJWWR99kurJPlLCazvRYCZc0eAowJ5qs1UCXrAweUUys385Ttj59pF4Nfk9fYXDh2Y2lXCx789N6zqUGg34Gnqftnd_F0Y95UkJLRZOMcVWSiH7BEteuatglo7FycxmRh3umMFrT5uVpWvfsbUz_ulmhK2r025uf0xcS9SYmCD0MpZGsAOTP7BMdQEeTm6r_QJ3slWHS8ylMBrZTEfc9u1et8ZGikoxprn378Ur14Z173m27hwuAOX3xBFDOdvcE3iLjTslRvdtlMQrgDv1DCfiwl-VzBfJj3oX9wEqODJY9g9LuWCND8ujxzcsJAJ9Wde2Ff6yRFBkuCCoXYKw-aeOdkRWAlwGXraDe9bq668-JJjOjiw.ewZNj1y2CuKXByzmWUP2WQ', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "6U3xhNPPibnMyuJKlYS9",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "grTB7ZPa342J-czmo7s2Qw",
        "aud": [
            "clientID"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560834753,
        "iat": 1560831333,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "xLvL551844AE0xZn",
        "rt_hash": "GvrhBfgczRi7YQ1FgaMREw",
        "sub": "testuser"
    },
    "refresh_token": "6SlnztV4Kw8PSakac0bh1wcEtpnWD8yQQc8zwS7J",
    "scope": "openid email",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': '7ZUrRdDmboeM3pEV', '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 6U3xhNPPibnMyuJKlYS9'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_verified": false,
    "sub": "testuser"
}
3OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_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