Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-claims-essential
Test descriptionClaims request with essential name claim
Timestamp2019-06-18T04:26:42Z

Conditions


verify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
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
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "clientID",
    "nonce": "BefcBXh2mU7hMnY7",
    "redirect_uri": "https://op.certification.openid.net:61770/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "idvbHtJPn8Y8sYzD"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=idvbHtJPn8Y8sYzD&nonce=BefcBXh2mU7hMnY7&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61770%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=idvbHtJPn8Y8sYzD&nonce=BefcBXh2mU7hMnY7&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61770%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=clientID
1http args{}
1responseURL with fragment
1responseaccess_token=MsCSnhROaRVv2DFAJIHk&state=idvbHtJPn8Y8sYzD&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.LeTPfrHyqKrPjAWtsI4u0PxcuURAuQrPQKhxl8ECmkOAJlYTz50bTw.Jh4fp7wXw86I2CfNWlm6dA.MG-a7e7WxzWJroj7T2oN8MxL7AUGlQ0qMxN4-D_wjU2abctiIkv64stEcj9evAFZyD-3dok6mpMelyusphwMmEWuius7spye1MM8bFZNun7dnWeFoXRtazukUTphy788wf7LYZT70PCBeU1f4TLAjgUmNX6rFzvAJ75cyRJeM_vqdPWNXKfEmD6VeEH6_QhUdEqIVhlfCd-RpZyATskXiXHN4U9aTGhBkVmKYZ_EkWqyPDhC_izVYP5nIcnGM3eSrmYhgDFpvZR5efB9AgGKVPeayNGETp-BEE6bgtsz6HJn0AmeGaU5_6gBuDyAJ_9Kip47kOEXF6PUXn7RcLhhsA3X_c8KIyEqfBuhK6nCp193qM3J13C0UuVRcOYKOebj3JpKl05J-8yFsEMcTv9a7bxaqsj8kg8loXdEb8q6BkbJDGqxYmX7NJDTmBr5JyZBZHeHawCyoCLg5fG5Aqa0KE0sbeVgbWNYzywRujTaTb9ycy6H-jSbQMtbGY0QipqTEIyyxPH_-G7Ul4tufzbscrsXqUDSMFie282H3-QITogk2XtrcnQKOA495U9G0wpjnO0OwPTReveGmAH9sLoj7sZkhqVxrTWW_6H5uOIaWbLiOiAZ10KT3ItBvlkHqo8cf-bRb-Bliasv7jIg-Sk1JtvOi1mdiM_M5GTKdbG5slrHeffBAnhAI3ozgHQIvivTCilZJCilbuEq1aZOHVwFee889GORYxxbcpq1v_8Dv8-fxMNCy2v8oZEsRdc6wQzkKwJNTM5jjNWP59Epv5W77JZ_340vJi6uY6njWe8cbXnces43IGXSvrg4_ywxDJzLK-MrDB4ff0bMFH4xp5KPmoNhwm8InSQwqo5tCZo3bkZ82L03I0ejxN5HwLac-4QMuFO-nh6EK3V3l-keUeiA4EAHWsecSAKVHfK1ac5WHlw.UQ_r7U5d5kHbvG2jj0tPwA
1response{'access_token': 'MsCSnhROaRVv2DFAJIHk', 'state': 'idvbHtJPn8Y8sYzD', 'expires_in': 3599, 'token_type': 'bearer', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.LeTPfrHyqKrPjAWtsI4u0PxcuURAuQrPQKhxl8ECmkOAJlYTz50bTw.Jh4fp7wXw86I2CfNWlm6dA.MG-a7e7WxzWJroj7T2oN8MxL7AUGlQ0qMxN4-D_wjU2abctiIkv64stEcj9evAFZyD-3dok6mpMelyusphwMmEWuius7spye1MM8bFZNun7dnWeFoXRtazukUTphy788wf7LYZT70PCBeU1f4TLAjgUmNX6rFzvAJ75cyRJeM_vqdPWNXKfEmD6VeEH6_QhUdEqIVhlfCd-RpZyATskXiXHN4U9aTGhBkVmKYZ_EkWqyPDhC_izVYP5nIcnGM3eSrmYhgDFpvZR5efB9AgGKVPeayNGETp-BEE6bgtsz6HJn0AmeGaU5_6gBuDyAJ_9Kip47kOEXF6PUXn7RcLhhsA3X_c8KIyEqfBuhK6nCp193qM3J13C0UuVRcOYKOebj3JpKl05J-8yFsEMcTv9a7bxaqsj8kg8loXdEb8q6BkbJDGqxYmX7NJDTmBr5JyZBZHeHawCyoCLg5fG5Aqa0KE0sbeVgbWNYzywRujTaTb9ycy6H-jSbQMtbGY0QipqTEIyyxPH_-G7Ul4tufzbscrsXqUDSMFie282H3-QITogk2XtrcnQKOA495U9G0wpjnO0OwPTReveGmAH9sLoj7sZkhqVxrTWW_6H5uOIaWbLiOiAZ10KT3ItBvlkHqo8cf-bRb-Bliasv7jIg-Sk1JtvOi1mdiM_M5GTKdbG5slrHeffBAnhAI3ozgHQIvivTCilZJCilbuEq1aZOHVwFee889GORYxxbcpq1v_8Dv8-fxMNCy2v8oZEsRdc6wQzkKwJNTM5jjNWP59Epv5W77JZ_340vJi6uY6njWe8cbXnces43IGXSvrg4_ywxDJzLK-MrDB4ff0bMFH4xp5KPmoNhwm8InSQwqo5tCZo3bkZ82L03I0ejxN5HwLac-4QMuFO-nh6EK3V3l-keUeiA4EAHWsecSAKVHfK1ac5WHlw.UQ_r7U5d5kHbvG2jj0tPwA'}
1AuthorizationResponse
{
    "access_token": "MsCSnhROaRVv2DFAJIHk",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "RswYYiOiLxPY2I-2ZMB9Eg",
        "aud": [
            "clientID"
        ],
        "exp": 1560835420,
        "iat": 1560832000,
        "iss": "https://isamfed.com:30443/test",
        "name": "isamfed testuser",
        "nonce": "BefcBXh2mU7hMnY7",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "idvbHtJPn8Y8sYzD",
    "token_type": "bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1phase<--<-- 5 --- UserInfo -->-->
1do_user_info_request
kwargs:{'state': 'idvbHtJPn8Y8sYzD', 'method': 'GET', 'authn_method': 'bearer_header'}
1request{'body': None}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
1request_http_args{'headers': {'Authorization': 'Bearer MsCSnhROaRVv2DFAJIHk'}}
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
2OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
2OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
2phase<--<-- 6 --- Done -->-->
2end
2assertionVerifyClaims
2conditionverify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
2assertionCheckHTTPResponse
2conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
2conditionDone: status=OK

Result

PASSED