Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-C-Signature
Test descriptionDoes the OP sign the ID Token and with what
Timestamp2019-06-17T15:09:20Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
is-idtoken-signed: status=OK [Checks if the id_token is signed]
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": "48poGIpA5UQA2CwnhjeQ",
    "client_id_issued_at": 1560784158,
    "client_secret": "Z4hJXpbTEwpDq5625ZmR",
    "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": "9g8ZKkSZvgJPwT4gRsgO",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=48poGIpA5UQA2CwnhjeQ",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "48poGIpA5UQA2CwnhjeQ",
    "nonce": "Tc3lfh9yKlXiBzIX",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "y2EQWX69PZ5MC1fJ"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=y2EQWX69PZ5MC1fJ&nonce=Tc3lfh9yKlXiBzIX&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=48poGIpA5UQA2CwnhjeQ
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=y2EQWX69PZ5MC1fJ&nonce=Tc3lfh9yKlXiBzIX&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=48poGIpA5UQA2CwnhjeQ
1http args{}
1responseURL with fragment
1responseaccess_token=O9E1AXOgdq15OTWxwN0E&state=y2EQWX69PZ5MC1fJ&expires_in=3599&token_type=bearer&code=EzU9YUKjDmF7Gm1O6zF3HU7Jfj7h2U&scope=openid
1response{'access_token': 'O9E1AXOgdq15OTWxwN0E', 'state': 'y2EQWX69PZ5MC1fJ', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'EzU9YUKjDmF7Gm1O6zF3HU7Jfj7h2U', 'scope': 'openid'}
1AuthorizationResponse
{
    "access_token": "O9E1AXOgdq15OTWxwN0E",
    "code": "EzU9YUKjDmF7Gm1O6zF3HU7Jfj7h2U",
    "expires_in": 3599,
    "scope": "openid",
    "state": "y2EQWX69PZ5MC1fJ",
    "token_type": "bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'y2EQWX69PZ5MC1fJ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'EzU9YUKjDmF7Gm1O6zF3HU7Jfj7h2U', 'state': 'y2EQWX69PZ5MC1fJ', 'grant_type': 'authorization_code', 'client_id': '48poGIpA5UQA2CwnhjeQ'}, 'state': 'y2EQWX69PZ5MC1fJ', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiNDhwb0dJcEE1VVFBMkN3bmhqZVEiLCAic3ViIjogIjQ4cG9HSXBBNVVRQTJDd25oamVRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJUMjE5dkRtYlNtWk9GNGpKcGxmTmUyeWFoUlIyaHJwaCIsICJleHAiOiAxNTYwNzg0NzU5LCAiaWF0IjogMTU2MDc4NDE1OX0.u_JPmWjROnHeYyJLm-23-SdC0AZ4rOiLQbdmGWpWfvRzgBGFq5f9uOgCAO21-wFyjDl8S6mk8q-sqbwwmvpULYdelGMrgmY77YQFXA3B2U8ZaJ8u-MYt3udy3GyEGjlIFKMrmUz7yf5osIocJf8A2uJPQx1DjFfd3d6kh4LAJIno8A2IYCp5k8T_cV-Mh9NbPQhY0Dby1Yl_T38IEHcWj-urNG5CFmDIvKse8zWRvQSr_ivNp9mtx18TxuDNX4mnCGoCeDFHayL-mP5Ex3Vyo0gHer5-X6bjLQg2ENyi5CsoNxgmZvZ_P3bNEUEalzq15o5n7H4H1JLDWNorui_w0g",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "EzU9YUKjDmF7Gm1O6zF3HU7Jfj7h2U",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "y2EQWX69PZ5MC1fJ"
}
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%3A61707%2Fauthz_cb&code=EzU9YUKjDmF7Gm1O6zF3HU7Jfj7h2U&state=y2EQWX69PZ5MC1fJ&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiNDhwb0dJcEE1VVFBMkN3bmhqZVEiLCAic3ViIjogIjQ4cG9HSXBBNVVRQTJDd25oamVRIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJUMjE5dkRtYlNtWk9GNGpKcGxmTmUyeWFoUlIyaHJwaCIsICJleHAiOiAxNTYwNzg0NzU5LCAiaWF0IjogMTU2MDc4NDE1OX0.u_JPmWjROnHeYyJLm-23-SdC0AZ4rOiLQbdmGWpWfvRzgBGFq5f9uOgCAO21-wFyjDl8S6mk8q-sqbwwmvpULYdelGMrgmY77YQFXA3B2U8ZaJ8u-MYt3udy3GyEGjlIFKMrmUz7yf5osIocJf8A2uJPQx1DjFfd3d6kh4LAJIno8A2IYCp5k8T_cV-Mh9NbPQhY0Dby1Yl_T38IEHcWj-urNG5CFmDIvKse8zWRvQSr_ivNp9mtx18TxuDNX4mnCGoCeDFHayL-mP5Ex3Vyo0gHer5-X6bjLQg2ENyi5CsoNxgmZvZ_P3bNEUEalzq15o5n7H4H1JLDWNorui_w0g&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': '8VbAU2aVowOg5WcgH8Su', 'refresh_token': 'MlVy8awrnH5GlbSubVCiGbRHV8XEKmwb28Jh7Dk9', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.PtRpMBKheC2cLYk8G3wK9NDEcvZlpiCmjHUdytrgVE9KLwfuWs41heqDcbYeSdzaJoCJbMgmV7vBF1gEJMSacXmzkluTa0jhLLz8T_wFaIpQYkSMuQagz26xUg3p_hEpRV5G8My74Qpc1IFbPlhiBenH-AmmHzOhI044l-eqMP1LT4V-NnkQzMNNySkqLcbmAJvSUZWWA9ajGZa9N45Va8u5c-zkHAxkQMHiO4kg7oWuc_j8G8YaZ-DV1Y8g6tot8fN7ZG42McBXXizFkHu6lhrGFh8mDrERS4A5oqnTgaK0U5_zOfAtsnrsYPTQXq2qrYMFzdHv8gU8q5P1cvvUeQ.r9Dqx1SoqBf4y5vDZ63mUQ.Ce_O_wHQBMFTZDGaHeykp3aqatiZVWuHHAgHM6rriYoW1qac8mmCRxImps5BE4XIZLzSuIYPP43TgBBQd4P2abUvfau9OdcHdwe1dku2c5MU9epIH5pa91-1iDm4STdr8zvTE7nBIdWy5XCyCziMiDrXjC6Ba1WBXYoEg8wONUd9YEdt2dDHoY6rrlu5AKdH8xoeNplTKyaOj-yPHVeU5OFQSlaWOzuO6rLZAXtcNhSNAvzBw5YwNciH-9VtiCOsvX36KPetikCqCk3wR3UrrZzTa0ICyItfGXE3JpjGVGQHVg7H6uxomWjGUhvyuQQ4uazew-J4wXzGOgKEVlBnkgCP8PIvN4e2_gCI1l3pLP4MOubNJXNu4x3ncZL4dILXorzq-ULIboIdqS4goKzbPCWeDsveSDusTHpvaBV5bzIoSEFOb7xcuo4mVZrxmlYhovXWQck2teBxu2Sg5JbdTQFOM2JUYyxv4o-8Qe--lwHhj17IFSDL8T5OpgoFAOVHDhViO3ec4gRhi7SVsFTJkC4baIQNbvEAF_ehJhpK0d0nGF-EqP0gYcpoFury1gZkM4chEH9SUWp4usHOBufP0OaTa9eynGYBzkaBl0zTqpjwl1fdHp2xiUn-PT7t9gEMJcCqNAqJNTQPVn3RBdw89uNdwq2VhlaLJCHUlKUfH-Lz5OvHFUQyW96seNOvBQvSUbXSjy4NrCHfDZ6Jd8tc4OBfVjsyBwBq9bqSD8ePWPpWZg-ObZEuB46RqR1R40Phr1BCBdF0iTfyLHHQSdQsH3W5iy_8tboRd-OunUtWL4aFLGWTaxUR3t--HTm9fYwdbBQwUD8oRpr1ybjDBptw7h-2Mf35W2dp_zDMbOMSw8b6p_EKL7n51wIRVcGZcDQxJld91ZpDgQs6PhQaL_wkOsCq_jWOSluZJ1YNdTcl2Xz-tLlryC_fKPDBySEf0GaLu_nEDY8yBLCbyivcFPSa8w.ZE2ov6EY8O7V1tfuOI7Xdg', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "8VbAU2aVowOg5WcgH8Su",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "A7qRvqOBhxlNZyVuBcgxZA",
        "aud": [
            "48poGIpA5UQA2CwnhjeQ"
        ],
        "exp": 1560787580,
        "iat": 1560784160,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Tc3lfh9yKlXiBzIX",
        "rt_hash": "wYFSQbGTlX6nzNyhTuQhVA",
        "sub": "testuser"
    },
    "refresh_token": "MlVy8awrnH5GlbSubVCiGbRHV8XEKmwb28Jh7Dk9",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
2phase<--<-- 5 --- Done -->-->
2end
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2assertionIsIDTokenSigned
2conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
2conditionDone: status=OK

Result

PASSED