Test Info

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

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": "ovzsTsXeAhcXKUg6",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid email",
    "state": "mNRRk5rSqsepcb39"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=mNRRk5rSqsepcb39&nonce=ovzsTsXeAhcXKUg6&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=mNRRk5rSqsepcb39&nonce=ovzsTsXeAhcXKUg6&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
1http args{}
1responseURL with fragment
1responsestate=mNRRk5rSqsepcb39&code=gKYVx7itCSTlKx2PMeDGmzZgeFc6FR&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Ii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ai6b65IojXPWybQojs2q3YEwzMsFlozMCEENZVEfGdVv9qu3aTh7MKd-vLQCtqYNfaclesFjq12OoRtFiD5lXZIblT1nXoYsSnB-nLS5EKMK278Q-Rkr048MRLPZ6DlC9EZA6DG_X0a0xd9mcwYyKA.SZCO9nQUl1tvQ6RpY7DXEA'}
1AuthorizationResponse
{
    "code": "gKYVx7itCSTlKx2PMeDGmzZgeFc6FR",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "uNOPcY3LXvobiDn1Cftt0Q",
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560834956,
        "iat": 1560831536,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "ovzsTsXeAhcXKUg6",
        "sub": "testuser"
    },
    "state": "mNRRk5rSqsepcb39"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'mNRRk5rSqsepcb39'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': 'gKYVx7itCSTlKx2PMeDGmzZgeFc6FR', 'state': 'mNRRk5rSqsepcb39', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'mNRRk5rSqsepcb39', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "gKYVx7itCSTlKx2PMeDGmzZgeFc6FR",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "state": "mNRRk5rSqsepcb39"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&code=gKYVx7itCSTlKx2PMeDGmzZgeFc6FR&state=mNRRk5rSqsepcb39
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'M4tEmMegRgtXF2ouh2qT', 'refresh_token': '1Djt9wJTGbHyg3TnSUIhVOw95kd1cqoKzLZsasdk', 'scope': 'openid email', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.urYHscB5og6xvPE7yiPiiuwPnb1UNEwlVav9DK4_-YxLxlXHYMFqnQ.LEyRu7kT5q0NercXNOIDog.zCnzoy3AXwZhLPCO0iZcIwRNvyMRe-82GZcgxGpyYvk1EQjm4QMQlvc6leZXLT6bRjYNmsmlxX1Lrv2pwkZCpIKfVK15K37Lpl1k-XXa2JkhfVGWR6uKpwsabLsYMNJhBs_WDSHOkYuhDUenG1rycdF-DD8lUlMPjSciRguKGMTJRdgg-jvUVBhC8whuZhOmxzPMXmSDYo4c9t6h-gd9PxEP4dq-zFOKCja8Uc3ilfO2u1psucSYEnCZ_yUWxM7O6jIjzqIlmcr3QamwLz7CRRhSEgeLAz4tc1ae8UITspWzoOtQjULezN09tYJaVP2fJmb3A1FFPym5hREvDWfuuytbQJ7ene47zjgyvcnBXxJBIC5Mes0U7p9VchdusNAJbH6jwBIcud6gPW2MGnaEjwKoN28oyRUceCJF9ezapHNSE_XFuverj3nqvKvMBxmTyl7svGLaEKilXk9kq_Q9Sij7_0nrMXH505DWw4Klzhzc6pDqEn4nztb3bVTQW8ynaYqf9PykzBtORU3xbSQYb9q1L_Zi_MW77QXKIy_RMlBwUQ1xAGT69LtK7HgoP4p4w18nc_I0UEIYL03_ZqkxPLDU0NP_gq0t8y6oCsdkAnQ_E2OI1e1iLOahYB55weGhyeyCoXQVYZW7SqGn_4XNYP4-Ze9Z8Edo7e0qqmLxg3iGRDL9cWqAcL583vze3Pyoiz6ytgJJe6fLtrrhyw-46hnXwulg90VxyCbtWi8VyR9-6V1GiWC8lgUBxZdmSl7OUGuV3FEBLAU_Mt7lPV_hNJYr2aE5aKIx6OFpbXZ75sbf3N5W4orR_4iZ894R4oz3OzbWuvpuGdUMfOoDk9Jk1Umr93Fa4627waGX5rGuLJWkKXHPtFVkwMNsoW1GGkAYHhhAxv1lgGN8oactBvZULDOShAvYScWzZr45-zrTuYQytR51NwvCaAQDyQebpm4yBSWr7gLp6n568Xr5uGmAvA6F7f4ooV4J-SOf9Teb3kx0OKPUyzEmXtce95oXawexE-1KXLGV1GJnC64pMAC4wA.ZXMVCf6SBoARyDVL984JWg', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "M4tEmMegRgtXF2ouh2qT",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "QTya4A86yYlBzcboinL0yw",
        "aud": [
            "clientID"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560834958,
        "iat": 1560831538,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "ovzsTsXeAhcXKUg6",
        "rt_hash": "nbUQYvMtzoCqkWbkP-A3-w",
        "sub": "testuser"
    },
    "refresh_token": "1Djt9wJTGbHyg3TnSUIhVOw95kd1cqoKzLZsasdk",
    "scope": "openid email",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'mNRRk5rSqsepcb39', 'method': 'GET', 'authn_method': 'bearer_header'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer M4tEmMegRgtXF2ouh2qT'}}
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