Test Info

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

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": [
        "RSA-OAEP-256"
    ],
    "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 -->-->
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:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "response_types": [
        "code token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "sdbk25y4VgKt6G4KYZfu",
    "client_id_issued_at": 1560784203,
    "client_secret": "31INwPLSZJWHgIGbjDY3",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "registration_access_token": "wt73uF0obFSf0AXGd01G",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=sdbk25y4VgKt6G4KYZfu",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "claims": {
        "userinfo": {
            "name": {
                "essential": true
            }
        }
    },
    "client_id": "sdbk25y4VgKt6G4KYZfu",
    "nonce": "LRG8xVL2TjiJXPBV",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "9BQw9n0U3pGsXlqb"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=9BQw9n0U3pGsXlqb&nonce=LRG8xVL2TjiJXPBV&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=sdbk25y4VgKt6G4KYZfu
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=9BQw9n0U3pGsXlqb&nonce=LRG8xVL2TjiJXPBV&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&client_id=sdbk25y4VgKt6G4KYZfu
2http args{}
2responseURL with fragment
2responseaccess_token=5JvLhuyHWTNFWOSuGZT3&state=9BQw9n0U3pGsXlqb&expires_in=3599&token_type=bearer&code=bUB2fYKxhlggpDz6sUCnXFr5ytdFZV&scope=openid
2response{'access_token': '5JvLhuyHWTNFWOSuGZT3', 'state': '9BQw9n0U3pGsXlqb', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'bUB2fYKxhlggpDz6sUCnXFr5ytdFZV', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "5JvLhuyHWTNFWOSuGZT3",
    "code": "bUB2fYKxhlggpDz6sUCnXFr5ytdFZV",
    "expires_in": 3599,
    "scope": "openid",
    "state": "9BQw9n0U3pGsXlqb",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': '9BQw9n0U3pGsXlqb'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'bUB2fYKxhlggpDz6sUCnXFr5ytdFZV', 'state': '9BQw9n0U3pGsXlqb', 'grant_type': 'authorization_code', 'client_id': 'sdbk25y4VgKt6G4KYZfu'}, 'state': '9BQw9n0U3pGsXlqb', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAic2RiazI1eTRWZ0t0Nkc0S1laZnUiLCAic3ViIjogInNkYmsyNXk0VmdLdDZHNEtZWmZ1IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJYSHJ2TXhYQUlxQ3dlTDF5TVFkRzc5QzNwemhoUExHVyIsICJleHAiOiAxNTYwNzg0ODA0LCAiaWF0IjogMTU2MDc4NDIwNH0.QPnXBqSqqxibq79poqxca8utdqkeJO4dALoYsFNKYqluAKYPN-ACacCNI0vgv-cuZWCfP3aV4dCW8eYFZnkCeFpTMC2HJluN2EbhA4PX4rzXy0KcjJla04hf3kdl4Sl63WwE_o3OvrtLcJHxpg8GF_CrFLCrfiA_au5caOJZaMbJfFOqvvkzbFUGi5Td4Uot9Vl-knKQGFvwLALe4tuVdc9NSwkNPqqvhnhZjtCy4Zwe1HMut_yVZyeGlp0pEpRhlBWl108gVUOuCfZ-w02CmRyTcV1gmX5_Gp4359VABqmfB_NWrk1GCGIzXcajaj14WEluIcHmwALWTGb5m01ZBQ",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "bUB2fYKxhlggpDz6sUCnXFr5ytdFZV",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "9BQw9n0U3pGsXlqb"
}
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%3A61707%2Fauthz_cb&code=bUB2fYKxhlggpDz6sUCnXFr5ytdFZV&state=9BQw9n0U3pGsXlqb&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAic2RiazI1eTRWZ0t0Nkc0S1laZnUiLCAic3ViIjogInNkYmsyNXk0VmdLdDZHNEtZWmZ1IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJYSHJ2TXhYQUlxQ3dlTDF5TVFkRzc5QzNwemhoUExHVyIsICJleHAiOiAxNTYwNzg0ODA0LCAiaWF0IjogMTU2MDc4NDIwNH0.QPnXBqSqqxibq79poqxca8utdqkeJO4dALoYsFNKYqluAKYPN-ACacCNI0vgv-cuZWCfP3aV4dCW8eYFZnkCeFpTMC2HJluN2EbhA4PX4rzXy0KcjJla04hf3kdl4Sl63WwE_o3OvrtLcJHxpg8GF_CrFLCrfiA_au5caOJZaMbJfFOqvvkzbFUGi5Td4Uot9Vl-knKQGFvwLALe4tuVdc9NSwkNPqqvhnhZjtCy4Zwe1HMut_yVZyeGlp0pEpRhlBWl108gVUOuCfZ-w02CmRyTcV1gmX5_Gp4359VABqmfB_NWrk1GCGIzXcajaj14WEluIcHmwALWTGb5m01ZBQ&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'wbKsND1N3oTWyFu7SmNK', 'refresh_token': 'ZVxFynDiWMGJ5xfu3AooPLilKOxlZJWXBSZX8N7z', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.M94GCoFo7vL25xdH3pW4jwSxUeahSDTiVmQMJXkg8o-9uKRacu9bLXDyKVjKXcTQXnhfZDqNfquIAZMLrKXJ9u5iQrjHl2vg3oxH-1Gqhh0BuP0jyWty3fQO5Nf1U3gGLMfS2ayrJAf5dGOctABdbGa8BMgUVRsfo1ajyA8ZT88EkOXtA61txorf0d1FUsn14Fy1ILmek3801Y3qNOweBYZO6LLVTaHdkeLb4-Hhetnqi-Sr3VtpoXs_4KNdFR1KZcqiCvP-8Y-JINlmV2uIpXe4u0jLTxYnhvGhvLaSOyvnf1zTMpdiE0nJN4kAuzFL7nzkiSqlPUJ4qUT-4LwRMQ.c4vHo9hSqpDuew2HW0W6PQ._xX33y_Bdi9tSe90XHRPd96OwyCKB9bbyhZMnRR0iVxRPyBU7cW0mb5KWStPkZ4lOqhOnGjmpX0FWQ9lvWX1UNT6C7bacDXxkoKsIGZ7FGT_z97Lg2YglfJyiXN7nY7qHalVvM4Mv64bT1y-7xf0bIQDOa4ir1_se90Acbw9XFTRq9mz6NIbbgQs7R7jmegLdF58laFTpobdhyAosWMLvADzIeQ-X8e4iv9ZwEXv2-AL-f5gzhfdfDfJL08LD95Mlc_W6KKDh2G_QGvYQKTgIqKFfgaPanfTrAT1m0813fIYBJ9yZ10x_ouryJY9SpWfdY2W_WxIxSlTv7fsfOYeCfSJgr60eVNBnoCj3C-v5kvloKAsrHaeWYIpzKl3hjNd1RdaAPNnAxit7YztZTzxTATtJ4DsM5d8OCkCPguT60Ju8SEL39WpbJ7DIRqsjmcX4YdYoZekAmBZSEP-MMt2l2aowXqAir6GJdXQ6yqv-bmTau8ryPqkX3t6lDZhP3GKVVNbFVmu9jPRpF5k2WRc1WstF6lzJwwF9UjzpiaemKablIPhwOS6HPbDEJ6JMWpIfraENDXrppaWZKG9jbZp1n_bORJu-tSPhZcC98NueICQ2lRTLkglRYpU_elC8MNU_2xg1fGNezdMfs7WhXhiEtUxY7nOdpUso-jkdXX7L7TzJdtvnWtofo4pHRpZ24h8MtB3cHQdRTdTYQSbUcjzsxok__7jrPjW9fuGatvAoq9T6065cMAgOXBz23KjEeKYPhHhPobrzD9jF6oj3rP8WgAZ1Lu6sjm9qVILyucvTQ4BfQQA2Cclbv5iX4_SfGPD15d1NyAtZt-wiZWiqc46ZrPziX8XBg0NI5yQZGtBhi4V9nr60z7BcSjEBPm1QSj-HLyPEeiltKtVsMY940RQgb0T-dvmOlzQqFrINkvN7c6foB71DQlguOUzyOrrT-6R0nZu8x1SoZPogy75EjAZXg.xfVUSB-e3ysECYE2_Rrthg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "wbKsND1N3oTWyFu7SmNK",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "bYDrmJ-ChOgjhN6IyHdN2g",
        "aud": [
            "sdbk25y4VgKt6G4KYZfu"
        ],
        "exp": 1560787625,
        "iat": 1560784205,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "LRG8xVL2TjiJXPBV",
        "rt_hash": "b0D6xHz52dtmti3hA4xLsA",
        "sub": "testuser"
    },
    "refresh_token": "ZVxFynDiWMGJ5xfu3AooPLilKOxlZJWXBSZX8N7z",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': '9BQw9n0U3pGsXlqb', '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 wbKsND1N3oTWyFu7SmNK'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
4OpenIDSchema
{
    "name": "isamfed testuser",
    "sub": "testuser"
}
4phase<--<-- 6 --- Done -->-->
4end
4assertionVerifyClaims
4conditionverify-claims: status=OK [Verifies that the claims returned as UserInfo or in the ID Token is consistent with what was asked for]
4assertionCheckHTTPResponse
4conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
4conditionDone: status=OK

Result

PASSED