Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-c_hash
Test descriptionID Token has c_hash when ID Token and Authorization Code returned from Authorization Endpoint [Hybrid]
Timestamp2019-06-18T04:17:44Z

Conditions


verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
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": "y6ruAixLcDKvsUHd",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "GDUUENOSrLHjK1G3"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=GDUUENOSrLHjK1G3&nonce=y6ruAixLcDKvsUHd&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=GDUUENOSrLHjK1G3&nonce=y6ruAixLcDKvsUHd&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseid_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.oC961THmGDSHJ_TDHG_qnmYe_OTEeu9YJ-qARP6_tUCcwVGQ1AGwJQ.0gBrxMFKJT24Ocau-6IdjA.6LtPGpOSHDj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UCcwVGQ1AGwJQ.0gBrxMFKJT24Ocau-6IdjA.6LtPGpOSHDj2ftNFfieUYKMxHyNj7FQriEXN6t4XBThpYab_ymOR4zI5HCEh3EPc_hCWSikOv2NVQ04J53FCb7gFWTat9YnK10oL7nBl_VK8TUde_BwcCIAm3SdSZyFvnBEaPmSva_yMpXKVPh8g2Vceir2ntWmP0OwjBc82FkdDToovyJhvUMpoqUrrMcITLGYnu5SKRvbqGNqEdF-Zfj84EbnebUDLQg-yfp1wZej1W6JO__4h5sUzvgUKvBaZ-zlb2Yn5L-lzO_iqqM1q6tnY-vPP6Mp6YC4hU_B_n2gon_l-sy4mJOyW0crNUFVeD-nm2ynahlUbGZ5U6pmaYiaV-jqrse0bVE9XUMWjYlfW0tc4COTZp97RKah5GdoLDNFUFAe809aouosA35SYWXvNCZiLlNXekodt_M0rKAoVvaavopI4VMX-Q4Vjnx0YxdLtRR_LzVNFeZy_kefCr-TWXFl_-_1NhUwA3cKbMWkytU-LQRUaTSN8B1WCL6wL2ypYBi84ZapCtOLRK7qlda1-5mYgzuhMp75BTNnYYK-bOu0IKuVLHj6BBwi9FkG6m5bYr6_yvS1tA4mflMSlgwqHtAGwDOwwIRKx8XpRZZZKV27_mqra8kEGOQ-JLX2441yv5Ozw1JAk67NKYIZVKh2HqAG7vcv4tq6hIEOir99jZ0zoLdriFj0dO151ZhkPwoFQpLzzfQ6GS2_xmCr4a5WteTFPj5dRNpnn0RVG7xVWta2DiCKAjIG8mJSQovoYxfHe8ribiaR8Q6vD0NV1qXoIPXOQjOl3Xb_v59cd53U4QcnouqNmQWTFHAFvRTiA3jH9TwO5FUkfLpaoko8mTubkAwIniLM6rrKtHHoZckdhSp93m49BdKwo0XgHC0tV.u9c2U7sh0feUc9Hc6-7OLQ', 'state': 'GDUUENOSrLHjK1G3', 'code': '3E1ILtymLVT4qTmtYcYSqIpOLakY75'}
2AuthorizationResponse
{
    "code": "3E1ILtymLVT4qTmtYcYSqIpOLakY75",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "GkGgIgt7-c06R3VRZVgIsg",
        "exp": 1560834883,
        "iat": 1560831463,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "y6ruAixLcDKvsUHd",
        "sub": "testuser"
    },
    "state": "GDUUENOSrLHjK1G3"
}
2phase<--<-- 4 --- Done -->-->
2end
2assertionVerifyAuthnResponse
2conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
2conditionDone: status=OK

Result

PASSED