Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-kid
Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Timestamp2019-06-17T15:09:29Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
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"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "M1fO9Bvv9E14OK32kH4c",
    "client_id_issued_at": 1560784166,
    "client_secret": "2vaflGQKtCGAghUFkKeO",
    "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": "1UcyYxA0nm8OEoWwAUmq",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=M1fO9Bvv9E14OK32kH4c",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "M1fO9Bvv9E14OK32kH4c",
    "nonce": "t5PqPRzT5tMz15oS",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "L4RAG4tuPexKeWOm"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=L4RAG4tuPexKeWOm&nonce=t5PqPRzT5tMz15oS&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=M1fO9Bvv9E14OK32kH4c
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=L4RAG4tuPexKeWOm&nonce=t5PqPRzT5tMz15oS&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=M1fO9Bvv9E14OK32kH4c
1http args{}
2responseURL with fragment
2responseaccess_token=5fhDZ9AVqt3EYBuCuLYL&state=L4RAG4tuPexKeWOm&expires_in=3599&token_type=bearer&code=fW62kOh5QML3ec5YCwE5nsw8YWQ33a&scope=openid
2response{'access_token': '5fhDZ9AVqt3EYBuCuLYL', 'state': 'L4RAG4tuPexKeWOm', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'fW62kOh5QML3ec5YCwE5nsw8YWQ33a', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "5fhDZ9AVqt3EYBuCuLYL",
    "code": "fW62kOh5QML3ec5YCwE5nsw8YWQ33a",
    "expires_in": 3599,
    "scope": "openid",
    "state": "L4RAG4tuPexKeWOm",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'L4RAG4tuPexKeWOm'}, 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': 'fW62kOh5QML3ec5YCwE5nsw8YWQ33a', 'state': 'L4RAG4tuPexKeWOm', 'grant_type': 'authorization_code', 'client_id': 'M1fO9Bvv9E14OK32kH4c'}, 'state': 'L4RAG4tuPexKeWOm', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTTFmTzlCdnY5RTE0T0szMmtINGMiLCAic3ViIjogIk0xZk85QnZ2OUUxNE9LMzJrSDRjIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJyWVBWWUlKM1hBcXRMT0hFZElsaVhna0hpWWhHUW11TiIsICJleHAiOiAxNTYwNzg0NzY4LCAiaWF0IjogMTU2MDc4NDE2OH0.qc9s22U8pi0ZRX8yClWv_-A7KKDeqPJLCR7xZbxXPyhpd2ZEXANeRKK-ktquYA-dco4hHM_XNfCVnWvzMj8NRtI5M2t6XbI038Hd7fuBJQWtKu0EkIpLjpqlVojpPfzKYtVW90PNLkbgQnfpbjx7BQqNEqasu2PkUIlFdK1hO3wSMPMZ6_6HcttCmumSRVpyg8pT0M0h_uGHj50QdDRwSMHOeJo603OzS32Z0qehEP8T3U7xCUmEF0ichzExAe99ph6mFXA12HNhmiSNokAtlR1LGsfiQd_Y4VZwLIJB1aK17NK3yI5VY7HpzOv2H8bconghre74oAWCy1r5BNWnHw",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "fW62kOh5QML3ec5YCwE5nsw8YWQ33a",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "L4RAG4tuPexKeWOm"
}
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=fW62kOh5QML3ec5YCwE5nsw8YWQ33a&state=L4RAG4tuPexKeWOm&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiTTFmTzlCdnY5RTE0T0szMmtINGMiLCAic3ViIjogIk0xZk85QnZ2OUUxNE9LMzJrSDRjIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJyWVBWWUlKM1hBcXRMT0hFZElsaVhna0hpWWhHUW11TiIsICJleHAiOiAxNTYwNzg0NzY4LCAiaWF0IjogMTU2MDc4NDE2OH0.qc9s22U8pi0ZRX8yClWv_-A7KKDeqPJLCR7xZbxXPyhpd2ZEXANeRKK-ktquYA-dco4hHM_XNfCVnWvzMj8NRtI5M2t6XbI038Hd7fuBJQWtKu0EkIpLjpqlVojpPfzKYtVW90PNLkbgQnfpbjx7BQqNEqasu2PkUIlFdK1hO3wSMPMZ6_6HcttCmumSRVpyg8pT0M0h_uGHj50QdDRwSMHOeJo603OzS32Z0qehEP8T3U7xCUmEF0ichzExAe99ph6mFXA12HNhmiSNokAtlR1LGsfiQd_Y4VZwLIJB1aK17NK3yI5VY7HpzOv2H8bconghre74oAWCy1r5BNWnHw&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': 'uCWMwpEMEfrVux1q9sg9', 'refresh_token': 'nhqU9FDY9cbAjfcrcDDOAcJuopWpoxYKgfdKYyGM', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.A_oCmsoLjCiMnIwzPRs-KCtuUeVBQ-BcfUwq_FnFSCZlmnPx0xJx7QkOtuZ2wOeaNsEK46K5jXJ1vm8Fot857Uj6Hl4fFVC7p0_MPyu0UxRc4E68yzSdYdI-U_ULTUQRlUIWF4MSeGv8CCBgrsSVpXx1To9tKQchu7FbVQYoDNewtm__dVRXgSO914juz8J1kADIcytbyUxWA_0t8bO6IslPZaQ208KO8j3v97coLxlMrcwWtQ_WEVagdjQ_NZpepShBlkNYU63jzQ-jIsuNLQqe73CE0klLmgmGTbPfHrOpbT_RrtzZzzPBHmz5Tufgbtyn2uEcMxQ4gql6wa0qzg.Qf41PJhu_zVY-wCe6dQO_g.iDBHhTdZNKQIJ8e4Lam5xdY7wKbAa7lkkhikDshMU46VYr9DwX1F9kkQ51PI_r7_Pgb90mLxGz8KcltyGJ20NpsUrei6gH7FOH_eHmKk8-8WA5C-PyrZKGyD_CYleh4DZdWv2dGdnB3_vbe_g_z_-W0t-7TxBM2G9Ia66iVVK_PRiVCgih1SotKntRvucMrsn7-HsZcALv0UzeUNK8HlY04sQOYCaTrxugafXzIyWqlHYWEFoXeAcqI7JY5nhhmgGPDSE4ylqD9egXvcP1kE0edtsA5qSg9DRe3qgr_WO_F2p7t1X1l5nkXBac_RATIZZFiM46Fndj02_g2Ro4nSgmpr3WwKH9uIaEPnpvS70RiMIJlNMeGW7PW3O7HYeJNQ9PntRIe725KAv2gOZje3w8e2H29myBSFTJ5UqIKvdN1UOHPhADv9cnDJiP6sechEa2YKrPFsSZGzZVyur8WP5cTcvuO4PW6neo71gsZfglgKSVKd5-DIqWQtBjM-4CkZ1zaIavXbn99eMtfTQG2QD4Y5dOsvSc_rc6sacKHjCj4YVH1h2vWbr8b4aUr8z9wIPv07S8Ozfd3QURJbx42YpyrTkZjOqOHeW-Twxc_uglanJqd7O4kXGGrHItHsmOQOYbLj4F2RTarvooHm4TVhy5Kz2UTRUDIeqRTgJP1i7X1RVlXhSyhXUooDdh2RKwxWDgz2YeVfGtBiKGUyFL2R6dYTfyWs1uajdjcIaxy6Xs2BzXdAgsImqK--GzyU-V9cmvJjloSEjBzuW_0JfV1mx5XkuQhTJGzuPX1MY2cQRywl5SmaNOD-Fss8ToeMS-c--2c9o8pGXqC92kII6zgJeu10xUIcLS90rRBBDMdg7UwydHxJIhBTOaUwe0WiH6szvlrjfGWbyxuhFmB639XHl3WJ4k739-5XQ-iLX8HD227wph03hCjsc9BLpsRKTgIq0cVO4ScLm52jNVIU1PIu2A.UIAapzaeg3f0g4P8PqvENg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "uCWMwpEMEfrVux1q9sg9",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "u3dhbN0l1NLm75cuzrA9cg",
        "aud": [
            "M1fO9Bvv9E14OK32kH4c"
        ],
        "exp": 1560787588,
        "iat": 1560784168,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "t5PqPRzT5tMz15oS",
        "rt_hash": "qyCTngUez998NE6WtoxNOA",
        "sub": "testuser"
    },
    "refresh_token": "nhqU9FDY9cbAjfcrcDDOAcJuopWpoxYKgfdKYyGM",
    "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 --- Done -->-->
3end
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3assertionVerifySignedIdTokenHasKID
3conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
3conditionDone: status=OK

Result

PASSED