Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-at_hash
Test descriptionID Token has at_hash when ID Token and Access Token are returned from the Authorization Endpoint
Timestamp2019-06-18T04:14:15Z

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": "WPICzNrpuRQeAWO1",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "06Qq5Kks3FG4Zi8G"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=06Qq5Kks3FG4Zi8G&nonce=WPICzNrpuRQeAWO1&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=06Qq5Kks3FG4Zi8G&nonce=WPICzNrpuRQeAWO1&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
1http args{}
1responseURL with fragment
1responseaccess_token=laclp2UI6DawlbMgTMMP&state=06Qq5Kks3FG4Zi8G&expires_in=3599&token_type=bearer&code=sErAZbipg7hTVbgt6v7sCY5hlav4We&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5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awlbMgTMMP', 'state': '06Qq5Kks3FG4Zi8G', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'sErAZbipg7hTVbgt6v7sCY5hlav4We', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.4fg8UySm3VGE4UpgOP7BaPTZavBnes9ulXxqMQIsAb66r1khnLPDaw.YzT-6ufOaHXz-f9USLKmJA.rYl3v75yIUNLNVC2svp-vtxLKuM1zouXHfFb-44VmtQuzsAdT0YHpstHBavShfW9tW8ELQS-U7TGjjPrr_wydiutcjral2fC9QzqhtKqiwSn7AkOpoJ4CC1Tg1qDW-N9du4EDEiHtwvHGh-FmteltBI09RdVMPnx9pJksdwIAOd_IgWYIIQSZz5D-X8UYBWa5xed2g6nKzoQNGl2HNR4XxWb3rIjujDv69-ZQJN0nIDRxqelLACNTPPxCnDiZXytLx63GdanggfBDdc5QYa8nCP_kP62FKgWjJxhw5AgBaDFrDArjELsg-G1RBv2y5M4kxk9B91i-AZZN_YJTv8IDAr4is6_mApumIBQz6GhlsifP2jwk5c5G1NEgNlZK8raXIMbH_rLRyU2ch5woJSQHLiEoyG85l452SpH47OMiqCrcVrivFaOGXV_51QLpw-h-c0dJwY0w5vsFvxBudjSnRlveme8a4-FpF6PY63HNoAoZUblu6POXQmZtFy5E51VP1XuRY3MWjjXfcVolCIPUV9wJGPTyULadwjINDI7Yf1dU3Bl0quiRuxfRFecm3mUVyQ9I0dlRULPQjNxoeMvi1V8KZgIgAFlyoTEkMifE_9CxzjD3A7ABNxb5sc6J-_6JA2I3gjKZSZQIVMjPsDkPfmfcdN4-tjCVmwFWMYVhwJTEnTvAtX7_xQizoTU_4CiVJraAYf8Jiuv67_pUSJiYMv6Ek-y69CFhYbJ86Vax8pKXugdZ2XvNM7CDAVkCKPcWAmUekvKTd2bAfQE0CfJ2F8s7pUFDHcTw8rmi_1SMt_3qi50BCxap10Vi2Q6_fB2tnH5AYGLqL-y4912U60CCz0pOYg5-2-nWXxzF-jG5FmuoW6OdLj7aVz5Cl5B5MojHY8Yyy4HVxo3BryKg9r01us5AIurWOLpIc0vbh10_K6n8C70yDIH1X1czRiLXQjZ.aA1b4Al78ScxoTQjUD8rxQ'}
1AuthorizationResponse
{
    "access_token": "laclp2UI6DawlbMgTMMP",
    "code": "sErAZbipg7hTVbgt6v7sCY5hlav4We",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "l00xx8e8Tv9JurOuLMgpeg",
        "aud": [
            "clientID"
        ],
        "c_hash": "wiDzXfLtx6SoeB3eYm0FZg",
        "exp": 1560834674,
        "iat": 1560831254,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "WPICzNrpuRQeAWO1",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "06Qq5Kks3FG4Zi8G",
    "token_type": "bearer"
}
1phase<--<-- 4 --- Done -->-->
1end
1assertionVerifyAuthnResponse
1conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
1conditionDone: status=OK

Result

PASSED