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-18T04:14:12Z

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": [
        "A128KW"
    ],
    "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 -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "g2NFpvcE92y89psl",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "otLCW9XEENSJlbhw"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=otLCW9XEENSJlbhw&nonce=g2NFpvcE92y89psl&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=otLCW9XEENSJlbhw&nonce=g2NFpvcE92y89psl&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
4http args{}
4responseURL with fragment
4responseaccess_token=f1QN7JH7Cg6TMkhHSsoQ&state=otLCW9XEENSJlbhw&expires_in=3599&token_type=bearer&code=26BcTXoSztQIKXfyY9fPUawWcavFHL&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY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N7JH7Cg6TMkhHSsoQ', 'state': 'otLCW9XEENSJlbhw', 'expires_in': 3599, 'token_type': 'bearer', 'code': '26BcTXoSztQIKXfyY9fPUawWcavFHL', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.l0nETfQ4XgsUELcY-QMk08MtYpxv18Jf7cxE4XGJqqTHSYs-4UufOQ.dx7vDG0vhTs0VNFJY7HcNw.8x4k9XLNSq70OOR_Qg6bGUB2BYTvq9qSvEZ82_8yYFmel7T-DADkUWdd7ymtPWz0qW20O4f07T1gtX9tI8qulDUz-CeFf7xBB5imC0IkrVzaiHOnGXb4VfYoiAajooy2PoLKe7TxelgXb7s9EL-mvqs9f2JQKwTIlkCohshxd_TUKRd60GK-1JDxbnUxeKUYRr7XTaAHN6crhpTwexKDWcAg19yBCM78ZgeqK8xHOcUR5nAoPosQ2lsiIitrArz0faYSyq8fyMZO8bebwgskl-IXIYNL_-mHzsZEtKl9uwi8IaYcVKOxIuhtP4ZakMr51sws8jkdyrtXuTGWML8zky0Bbonhm5LtPKjfNiy0g2VUV6JUTkjmEiPLy5PsH-KN6FAV5jDgkW-V8bVn6OtqmWSKyMZn_7-Ey3pmfarMPBRq8KtHJ1vj-3pAAPEpWMHp3VXlkdK7801dDd2ks346ONain8m9kk-1lgdq3F_3CCvFZLPIqsBPQIXNGgyZA048-RD0iveFWfsT4dM_XROikj3IOTkV8xLxd53l8XdF5GppzKxJJw_Fy_I3NJ2CyfHHS3RrW4qHoSsQW7GznwFQUFgGhOTXJW5K4YyXovfG_BmDGVnXOBoq7fRxGiyu80J1GcIZLj3ZeMKDeTxhsIDF6fg56FmEuXj-gk6G2j73PFoceG-_cTYTauLaT9JrCZHWT7O-eE597Q8QdKKFj8kVg8h4SA8PJ8iYVzPmGaUMMpct34NiyhuKizMLpolu2ce9AofELykz_WxKm9jPeEN0fhH8h0u8sDYtaBUZDZ2KHbfeobco2QkolinVUYuSH0EAmZXkeRZe14j8ZJbliW8FDs58EKkw-HnoPSWzuWaEo6rm0P5DcCi_YfTGg2vjGg59qncV-cTBsKSgE7yRrlVYFHfZitVRKb0giatgvWCne18gHEbQRDREjFIV-noGFUl8.DiNXY5-r179zFGsQlzVZLw'}
4AuthorizationResponse
{
    "access_token": "f1QN7JH7Cg6TMkhHSsoQ",
    "code": "26BcTXoSztQIKXfyY9fPUawWcavFHL",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "IN2-8S4eHsU08y0dq0dnww",
        "aud": [
            "clientID"
        ],
        "c_hash": "Rw57aIKuS9QggSol5wN6Sw",
        "exp": 1560834670,
        "iat": 1560831250,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "g2NFpvcE92y89psl",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "otLCW9XEENSJlbhw",
    "token_type": "bearer"
}
4phase<--<-- 4 --- AccessToken -->-->
4requestop_args: {'state': 'otLCW9XEENSJlbhw'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'}
4do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': '26BcTXoSztQIKXfyY9fPUawWcavFHL', 'state': 'otLCW9XEENSJlbhw', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'otLCW9XEENSJlbhw', 'authn_method': 'client_secret_basic'}
4AccessTokenRequest
{
    "code": "26BcTXoSztQIKXfyY9fPUawWcavFHL",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "state": "otLCW9XEENSJlbhw"
}
4request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
4request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
4requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&code=26BcTXoSztQIKXfyY9fPUawWcavFHL&state=otLCW9XEENSJlbhw
5http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
5response{'access_token': 'QExcucKgwKrM8Dh7J03I', 'refresh_token': 'ZPOg46lzoRXHgkWaeRG8rhNvR68dj6E3ndxsxLla', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.w1zmEoHorPsSP2cNZ90qvJnw6LscTF36uBcG5aFPRlxl6kjUimcqMA.wRhFe82Z8I_lbnOU_YZ5SQ.OTztv75dLZmlD8IvVcUrCGJPbUenpzn7yAy_ZrwweC1wnlxvgFu6IMruQvZIZh3eG03MWxLkOCuQwwXO5urfIhL8D5vLpTXWaMzJBstcVqj6qTh68S6FLIizbYrzGbv1ilI84NaTeex7qUfj4uTDsUVnlWrxMHjbeY051EqtQ9SmNuCYfX7lKWFahiV9A9Uwxa84t9mxLmO9skgjlAYe9I7rVonDw7_X9HfcBr-Lispa8a2QdET6oHhAHjfWOuw-gIBRaDe86BarsMqPMBPg8hBMIBI3p4xYMWia3X48LEZhGghN7hW85tovwdieegovjUd5CqFgh2_DsEz2mYafPWjzdbDSHD6D9vJvtYP3bI1tKdLctoiFjnXC1nUS_KF2TzhRg7Aza6R36scPR_PnIycPWz7vY0iRHsNu04tejitCeUO_2SJJT9xFkTzWBNzt_AnI2_HBuPYpVsF_UM_rwPqITYe-nlya00wUtwfTI_SLWSRCgt21wM7gZsAecPi9oN0h0HeLUWh4wcL2MvEsNPd4feC2w7vJU6_TN9-mv8XRE_zpFsDlT1BSBWxSsk_jU8yuUbidXt5ce1feSlOD9Owkg6Y2xv2KewADWeiU7w8o7wvcrMfHc-uMv5x5uiD-BDABZslgaij7o1aq5WoIdk0205OpGZBeest1CAg5ujhCfKeyMVAFQ7G0p7tTLz3ImNQzUs1c-gBUYZj78Y60ClzdN_zCAhvPm0k-tm_CWDTf1FkvEF6HLR4jowNlWZ_I-_-wZxy6Am0QtSd-OuHPZFZYkVrkw-tydtgRsqiCBlLssnmY8TQi09R1GszObSVKQnuLcUbNThTWadBJDlRD8xnCrmZAL35CUg_jlaS9wtMv5zEs1Zzr4SR2JpjOND-opiBaGX7DkUu-Oo8LCVZHkbOZj7ef0H3Y6Hy8KISc1LeWnhIrmNqn55sRXLJpRBJY.5X_7S1iBKTGrb8l5Ydr-FQ', 'token_type': 'bearer', 'expires_in': 3599}
5AccessTokenResponse
{
    "access_token": "QExcucKgwKrM8Dh7J03I",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "QmJ7Fe2gHb9weyUAUFJJiA",
        "aud": [
            "clientID"
        ],
        "exp": 1560834672,
        "iat": 1560831252,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "g2NFpvcE92y89psl",
        "rt_hash": "UPsxMiF3lexQad7lvrbe6w",
        "sub": "testuser"
    },
    "refresh_token": "ZPOg46lzoRXHgkWaeRG8rhNvR68dj6E3ndxsxLla",
    "scope": "openid",
    "token_type": "bearer"
}
5jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
5jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
5phase<--<-- 5 --- Done -->-->
5end
5assertionVerifyResponse
5conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
5assertionIsIDTokenSigned
5conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
5conditionDone: status=OK

Result

PASSED