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:10:55Z

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": "bhOaK7HkgD8lGMb3",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "i8OntDZ9RtWk4ksz"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=i8OntDZ9RtWk4ksz&nonce=bhOaK7HkgD8lGMb3&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=i8OntDZ9RtWk4ksz&nonce=bhOaK7HkgD8lGMb3&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
4responseResponse URL with query part
4response{'state': 'i8OntDZ9RtWk4ksz', 'code': 'W03d7nROhJiQS9Pj6lUyYHsqi1vgBw'}
4response{'state': 'i8OntDZ9RtWk4ksz', 'code': 'W03d7nROhJiQS9Pj6lUyYHsqi1vgBw'}
4AuthorizationResponse
{
    "code": "W03d7nROhJiQS9Pj6lUyYHsqi1vgBw",
    "state": "i8OntDZ9RtWk4ksz"
}
4phase<--<-- 4 --- AccessToken -->-->
4requestop_args: {'state': 'i8OntDZ9RtWk4ksz'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb'}
4do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb', 'code': 'W03d7nROhJiQS9Pj6lUyYHsqi1vgBw', 'state': 'i8OntDZ9RtWk4ksz', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'i8OntDZ9RtWk4ksz', 'authn_method': 'client_secret_basic'}
4AccessTokenRequest
{
    "code": "W03d7nROhJiQS9Pj6lUyYHsqi1vgBw",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "state": "i8OntDZ9RtWk4ksz"
}
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%3A61764%2Fauthz_cb&code=W03d7nROhJiQS9Pj6lUyYHsqi1vgBw&state=i8OntDZ9RtWk4ksz
7http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
7response{'access_token': 'S7YcjstZxlJIb9Uw14z9', 'refresh_token': '2YNEmwH6ZgZ9q8wNg9UKy9OQPXYG2b3eneAUzXaS', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.06N6Dn6XsthWFVJn4w5SzHkFjKe9Ul-JuneBZ5Sc5E1BG-xdDfmMXg.50iiw7drT6DvLU_pPxKbsw.MAD_TWL6mN6yyZ6605OyYPJ9Pa1X0Gf1k5x5Q6id56jWWxymsDTCYfu8jGYXfQEFf-I0U-lPxRWk-x6WU69zGiSJQu-4NLeaZ8Kh5wY5lthR_-Lmj7l_yTXuZFa3japQuAcaNL9deK0rswqAsYXZs6ebdXOEW64o09swQGM4zdHtW73tI9FpFMcN1MWv9IenRw9BvvD0ITX7LNFkf6-Czg5dK-XU3LEetvDa_QLC4T-rw_LcntAIkEEVUHeB8mc3whrv3CT7T6v3PNFhSgwKFR2L9qhd1bLtnNxqB7h2hrX1-9hrh8yj0jke1lORvddhBWI-00iko0zYA62jyUk2imJYNovRNlXelXJz8gvJBrDJKXUbxp2Dc5mLnz85iiscGXok8K_Gzd2CiM3bhmr2CHfAgEacWRsYC44QcQz5z6iJ2LGXQfQ88acZY4hpqfQRSZ2QYpkQm67ZyFi50I0SOtyHn5NHv9IyazGI3Fpc6A-rP17V18mduvIjSU7ih-J78zaXGQR9oayvK6wCZj7sOeqnK-xC5_r1oyINS97CrFvN2gztqX9Ubokdb2GJDeZB7sqKc8j-8YemM_mv1p6N1H-SF35k4UAcBA1NPERE60aAx-CN0LTYwReft2H5bShSS6AcatcH5ZbbhmkYNkrFu8lHfZw0_AV4e6gKm00u2pba7BtF_P6r3syZ2KTb6GafHvWcNNv45R-kFzpOvFHbE5jOwq6TgfceMHC_udZGnngbrs_0xYvTBFdMvI7GubRCX9VNFj80YpS3uTlvc-bd7SusKXIxunKkXNIlyC3YvRzv7yaTmh4suZHBpFN1xQkRIQUlLhyw4CcqPnxDaai5O6KpJxseNpoQkGi-z3mbANvx0CZ20qzkMGkx3Fp2OG_9egffEumR8TQwpdGRY3zU8kP2DS_8CjLUGLDLVTigXes7lqGqH7YL_PuJmwgOiQh6.STImVSVjvEReHr_lfl-Mbg', 'token_type': 'bearer', 'expires_in': 3598}
7AccessTokenResponse
{
    "access_token": "S7YcjstZxlJIb9Uw14z9",
    "expires_in": 3598,
    "id_token": {
        "at_hash": "jaPEMAqV2ESyyPBnqu14cA",
        "aud": [
            "clientID"
        ],
        "exp": 1560834474,
        "iat": 1560831054,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "bhOaK7HkgD8lGMb3",
        "rt_hash": "yYL9maBl54dLmop7E_iBYw",
        "sub": "testuser"
    },
    "refresh_token": "2YNEmwH6ZgZ9q8wNg9UKy9OQPXYG2b3eneAUzXaS",
    "scope": "openid",
    "token_type": "bearer"
}
7jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
7jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
7phase<--<-- 5 --- Done -->-->
7end
7assertionVerifyResponse
7conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
7assertionIsIDTokenSigned
7conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
7conditionDone: status=OK

Result

PASSED