Test Info

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

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_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 -->-->
0register
kwargs:{'response_types': ['code'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61164/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61164/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61164/static/jwks_61164.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "0jiFDuFTzPoUdgOHwt7l",
    "client_id_issued_at": 1560753555,
    "client_secret": "Mt82VyElqFdDDcllEfEz",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "registration_access_token": "FzuDb0X2kTiN58SIERZM",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=0jiFDuFTzPoUdgOHwt7l",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "0jiFDuFTzPoUdgOHwt7l",
    "nonce": "zzDeAEJtTcrWukL3",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "55w16mfhcQON4S12"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=55w16mfhcQON4S12&nonce=zzDeAEJtTcrWukL3&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=0jiFDuFTzPoUdgOHwt7l
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=55w16mfhcQON4S12&nonce=zzDeAEJtTcrWukL3&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=0jiFDuFTzPoUdgOHwt7l
1responseResponse URL with query part
1response{'state': '55w16mfhcQON4S12', 'code': 'jbKPdW3WxduZUpRrzQXhZHWPeNaweQ'}
1response{'state': '55w16mfhcQON4S12', 'code': 'jbKPdW3WxduZUpRrzQXhZHWPeNaweQ'}
1AuthorizationResponse
{
    "code": "jbKPdW3WxduZUpRrzQXhZHWPeNaweQ",
    "state": "55w16mfhcQON4S12"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': '55w16mfhcQON4S12'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb', 'code': 'jbKPdW3WxduZUpRrzQXhZHWPeNaweQ', 'state': '55w16mfhcQON4S12', 'grant_type': 'authorization_code', 'client_id': '0jiFDuFTzPoUdgOHwt7l'}, 'state': '55w16mfhcQON4S12', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiMGppRkR1RlR6UG9VZGdPSHd0N2wiLCAic3ViIjogIjBqaUZEdUZUelBvVWRnT0h3dDdsIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJJb0thMGtnOEUxQVJMeEY0VDF2bGRtSHc3U0puTWk3UCIsICJleHAiOiAxNTYwNzU0MTU2LCAiaWF0IjogMTU2MDc1MzU1Nn0.zHD64VV-xB4WjmsBZYcNf_fgbeHrj0sxoW3g5gEa8Xv1WsofMnuY5hoUy8Zi1YrlTmoZ0yHTQvJCfDaBDo3ap3My-JcoMbixcsQThFWMMSnaGjQOPBTzLxw4RTaL4yHQyFAKmqD2XMuFM3f1cBDjuNAuHdywkZDlrcBaxD1GqRLOgwbyrz2h2oqVPp7CYz1uXBkAy4C2AE3iD__D5f8u8h1eewarMwo9_i1CpcBUecnvJzXCs54CNJDh5Cs3IlfMhG2KHkWDm56mw-s7-Hl2cGA2gKsSAqG2xuYnnKKu21n5Gw0zbFW6LZuoj5Wdzn1vInR50UzpZ39lQ_BjZ7_fvA",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "jbKPdW3WxduZUpRrzQXhZHWPeNaweQ",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "state": "55w16mfhcQON4S12"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&code=jbKPdW3WxduZUpRrzQXhZHWPeNaweQ&state=55w16mfhcQON4S12&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiMGppRkR1RlR6UG9VZGdPSHd0N2wiLCAic3ViIjogIjBqaUZEdUZUelBvVWRnT0h3dDdsIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJJb0thMGtnOEUxQVJMeEY0VDF2bGRtSHc3U0puTWk3UCIsICJleHAiOiAxNTYwNzU0MTU2LCAiaWF0IjogMTU2MDc1MzU1Nn0.zHD64VV-xB4WjmsBZYcNf_fgbeHrj0sxoW3g5gEa8Xv1WsofMnuY5hoUy8Zi1YrlTmoZ0yHTQvJCfDaBDo3ap3My-JcoMbixcsQThFWMMSnaGjQOPBTzLxw4RTaL4yHQyFAKmqD2XMuFM3f1cBDjuNAuHdywkZDlrcBaxD1GqRLOgwbyrz2h2oqVPp7CYz1uXBkAy4C2AE3iD__D5f8u8h1eewarMwo9_i1CpcBUecnvJzXCs54CNJDh5Cs3IlfMhG2KHkWDm56mw-s7-Hl2cGA2gKsSAqG2xuYnnKKu21n5Gw0zbFW6LZuoj5Wdzn1vInR50UzpZ39lQ_BjZ7_fvA&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'oXd6A2JQ0JzrYs0JMhT6', 'refresh_token': 'OgW1it1cRfGDLNbdNrT2iWToEL4d8L65LaFJqity', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiN0tPd1ctVWxJb3JqeWFfM3RRLWxSZyIsIm5vbmNlIjoienpEZUFFSnRUY3JXdWtMMyIsImlhdCI6MTU2MDc1MzU1NywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Imd4eVpwRmx0NVdmWjRCbTVReXRwUFEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1Njk3NywiYXVkIjoiMGppRkR1RlR6UG9VZGdPSHd0N2wifQ.ENR4fWpumJAOnGqW5h313NoEDC8wYbH-HS2ZorEf3kx7Nkfi9usMyfKkwTlCjvI9VNVAv8mHb58urXhRNi2ncAn7rTrnKAr7wB4WAYt_O7J3FVp01CP68z6S7b_zqyII3XvM2BeGzTHvbrRy3Ef1IjMGGzqjIjMWKM-XOBHsHVIyVqhOigCiQvvheS3EQZP9AEEXeKHs7F8rPf-6QQYuNuqKKwudXoRk-0ti7SdtBk3eYYIrDQXXjk4FS0TSVA9lJkJjn_RMVLt7zu6yI5kptWJTf5tczeeswvRfTNaJjnOOVksE3UWh2w8zKLjfCiwX6N9tDPu1fsTXi2JpArcD4Q', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "oXd6A2JQ0JzrYs0JMhT6",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "gxyZpFlt5WfZ4Bm5QytpPQ",
        "aud": [
            "0jiFDuFTzPoUdgOHwt7l"
        ],
        "exp": 1560756977,
        "iat": 1560753557,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "zzDeAEJtTcrWukL3",
        "rt_hash": "7KOwW-UlIorjya_3tQ-lRg",
        "sub": "testuser"
    },
    "refresh_token": "OgW1it1cRfGDLNbdNrT2iWToEL4d8L65LaFJqity",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': '55w16mfhcQON4S12', '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 oXd6A2JQ0JzrYs0JMhT6'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "name": "n/a",
    "sub": "testuser"
}
3OpenIDSchema
{
    "name": "n/a",
    "sub": "testuser"
}
3phase<--<-- 6 --- Done -->-->
3end
3assertionVerifyClaims
3conditionverify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
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]
3conditionDone: status=OK

Result

PASSED