Test Info

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

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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61240/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61240/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61240/static/jwks_61240.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/authz_cb"
    ],
    "response_types": [
        "code token"
    ],
    "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": "gvNZ2evFm0mvzzOvKrua",
    "client_id_issued_at": 1560754968,
    "client_secret": "YnDpeyGTteMWP15OQATn",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/authz_cb"
    ],
    "registration_access_token": "M8kuYz9I2AwNkWePY85P",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=gvNZ2evFm0mvzzOvKrua",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "gvNZ2evFm0mvzzOvKrua",
    "nonce": "hwSA4PpqHWVB1qvG",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "V4ghJFDE2l9HuLZF"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=V4ghJFDE2l9HuLZF&nonce=hwSA4PpqHWVB1qvG&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=gvNZ2evFm0mvzzOvKrua
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=V4ghJFDE2l9HuLZF&nonce=hwSA4PpqHWVB1qvG&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=gvNZ2evFm0mvzzOvKrua
1http args{}
2responseURL with fragment
2responseaccess_token=Ne3wMMjVmY51sqj53i8L&state=V4ghJFDE2l9HuLZF&expires_in=3599&token_type=bearer&code=uR1DsRM4gGl7mLGBhIWljdSUQPrD6N&scope=openid
2response{'access_token': 'Ne3wMMjVmY51sqj53i8L', 'state': 'V4ghJFDE2l9HuLZF', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'uR1DsRM4gGl7mLGBhIWljdSUQPrD6N', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "Ne3wMMjVmY51sqj53i8L",
    "code": "uR1DsRM4gGl7mLGBhIWljdSUQPrD6N",
    "expires_in": 3599,
    "scope": "openid",
    "state": "V4ghJFDE2l9HuLZF",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'V4ghJFDE2l9HuLZF'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': 'uR1DsRM4gGl7mLGBhIWljdSUQPrD6N', 'state': 'V4ghJFDE2l9HuLZF', 'grant_type': 'authorization_code', 'client_id': 'gvNZ2evFm0mvzzOvKrua'}, 'state': 'V4ghJFDE2l9HuLZF', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZ3ZOWjJldkZtMG12enpPdktydWEiLCAic3ViIjogImd2TloyZXZGbTBtdnp6T3ZLcnVhIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJGQXB1WmM5Y0lQeWJCOE5aUzA4OERLdmQzNThUTEJVVSIsICJleHAiOiAxNTYwNzU1NTcwLCAiaWF0IjogMTU2MDc1NDk3MH0.aBrQzXAd-p5fv7djpjxYSXJWJWdyT3v_RbHoBdq7sJHMSjBAcKiBYYMYrDycl9vOAjuj3iSVzOQ6wrhK5QDz-5Cf3LqMDvOOiRYr-qsZVgGddrPUrZE409JWO23XwM6bU3Ohgie8b3T7mZhdRBactl1T4wpxpunQQfbEe9YfryvP6zhQoVXw4k9XWDWEFn18MikRvdOQBvEMc1Hf8YFK9GqdKHwM44rFmxuqVISTe_mZyR567f26VrppZSKNV6czgQWkyExSHLoiKTiLW1sDxGpZL98d_P_XH-IVwgsCHaHGHlauuD1KFJqGQ-8Pkgtp-YusomRMw1wz9Fr08ZNoog",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "uR1DsRM4gGl7mLGBhIWljdSUQPrD6N",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "state": "V4ghJFDE2l9HuLZF"
}
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%3A61240%2Fauthz_cb&code=uR1DsRM4gGl7mLGBhIWljdSUQPrD6N&state=V4ghJFDE2l9HuLZF&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiZ3ZOWjJldkZtMG12enpPdktydWEiLCAic3ViIjogImd2TloyZXZGbTBtdnp6T3ZLcnVhIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJGQXB1WmM5Y0lQeWJCOE5aUzA4OERLdmQzNThUTEJVVSIsICJleHAiOiAxNTYwNzU1NTcwLCAiaWF0IjogMTU2MDc1NDk3MH0.aBrQzXAd-p5fv7djpjxYSXJWJWdyT3v_RbHoBdq7sJHMSjBAcKiBYYMYrDycl9vOAjuj3iSVzOQ6wrhK5QDz-5Cf3LqMDvOOiRYr-qsZVgGddrPUrZE409JWO23XwM6bU3Ohgie8b3T7mZhdRBactl1T4wpxpunQQfbEe9YfryvP6zhQoVXw4k9XWDWEFn18MikRvdOQBvEMc1Hf8YFK9GqdKHwM44rFmxuqVISTe_mZyR567f26VrppZSKNV6czgQWkyExSHLoiKTiLW1sDxGpZL98d_P_XH-IVwgsCHaHGHlauuD1KFJqGQ-8Pkgtp-YusomRMw1wz9Fr08ZNoog&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': 'M24aZgE8hqMYNo580u5V', 'refresh_token': 'ZK1Xxj7jphaWDpIpvXnKlyfTdktSqgTK3aRdQNUP', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiNy1mMzg4Y190UklDNnl6MVk2TDl3QSIsIm5vbmNlIjoiaHdTQTRQcHFIV1ZCMXF2RyIsImlhdCI6MTU2MDc1NDk3MCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IktOOVdCUHd3eFNIOW5vTFI5VkFXdlEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODM5MCwiYXVkIjoiZ3ZOWjJldkZtMG12enpPdktydWEifQ.awbgwu_aP0m_U8GVqgxU-Ci1mN31FpcBP2EB4ZtSKY4rrsKesmc5jYLxbgtiLO83qSwG9V7fotmDyAJmTJervitG_lIaOSTSOo1QBPeAFf1eLGc_1Gz5sU_a8BUDJU8AaZHjZFkKKG7DvNy4-AT9HAAGT-cOHmP8mcV11YXR4bQw8sZA2seH1ianQ7u1DmC7Rj6z42i69OBDih0wVyKKuQw72eqpm8qBCjzJ6_wqJ1RRETMdWpHhqprNz28xu3FNsJnr9wuukVGIgHgEQ1o_QEPlGk265a_yEJPQRF6tP2biB1LWIfI3UDlW3Acj_xPbdaF8xwdlLwD75cXKgZALag', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "M24aZgE8hqMYNo580u5V",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "KN9WBPwwxSH9noLR9VAWvQ",
        "aud": [
            "gvNZ2evFm0mvzzOvKrua"
        ],
        "exp": 1560758390,
        "iat": 1560754970,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "hwSA4PpqHWVB1qvG",
        "rt_hash": "7-f388c_tRIC6yz1Y6L9wA",
        "sub": "testuser"
    },
    "refresh_token": "ZK1Xxj7jphaWDpIpvXnKlyfTdktSqgTK3aRdQNUP",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'V4ghJFDE2l9HuLZF', '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 M24aZgE8hqMYNo580u5V'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
3OpenIDSchema
{
    "name": "isamfed testuser",
    "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