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-17T15:04:06Z

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": [
        "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 id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61737/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61737/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61737/static/jwks_61737.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_cb"
    ],
    "response_types": [
        "code id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "GlLDEq3MaYuQanjsjXNc",
    "client_id_issued_at": 1560783845,
    "client_secret": "gPJeFSeK5Fn5zhSne9aH",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_cb"
    ],
    "registration_access_token": "9T2QlHceclKrkzTGXgjL",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=GlLDEq3MaYuQanjsjXNc",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "GlLDEq3MaYuQanjsjXNc",
    "nonce": "I6fg6gkGIoQvR09V",
    "redirect_uri": "https://op.certification.openid.net:61737/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "S3hJJ8TAQGeXVpAo"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=S3hJJ8TAQGeXVpAo&nonce=I6fg6gkGIoQvR09V&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_cb&client_id=GlLDEq3MaYuQanjsjXNc
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=S3hJJ8TAQGeXVpAo&nonce=I6fg6gkGIoQvR09V&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_cb&client_id=GlLDEq3MaYuQanjsjXNc
2http args{}
2responseURL with fragment
2responseaccess_token=KRrvgPDOiK5tScSNlz3n&state=S3hJJ8TAQGeXVpAo&expires_in=3599&token_type=bearer&code=FgMpSb9rxo0FRIdgK0TwNqNpgHU9Gk&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4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a0Gk6LwqEeDRE77MT20KpQZHV-ct9rSVn0HeTDK52hYtCMCLwC6tcQzmwJV6koIanSFohCs0aghYsXMvnicJeL0pk1tNB29Xt555MGjGFF8_SGkybvs-BJ6tVhqJqjoqubnchG87hHAyNtwvPYA0FysoYe6R5ko7PDRbHuZUqcTlo-FhCwKN4cqNcyA0xTAeJCFnp4IxhI-7q7H7IpiM-3Wq_CVNV3iohdv2PngXaCFL4Yzp8AY-H31HlYlZq1NJUKSzuzYeUs32TXuKR1e5fQ-cfTJurd6fFevBq0yYcrZioOo5twKNmL9-wqotn2EvkjhLxfTBRqNP7qblQwHNwAZbLrlX4JK_S_AGvGENzvb88a8tJZx8QZVa4kXw.I-puDL_JQ-aXchFgq63cvw
2response{'access_token': 'KRrvgPDOiK5tScSNlz3n', 'state': 'S3hJJ8TAQGeXVpAo', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'FgMpSb9rxo0FRIdgK0TwNqNpgHU9Gk', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.nd7fhTyFusF0_SSkqV0FWYP508TbCW3ZN1M7CMrfjHQ4ydJIPy82FMhmremiNXJjP17FrGZaZXd2u4AiPkqMULoVrT-wMS4Y2fLnQMbYTtAi5sTtmHenUXYNbGLRuwlgCe-0k7pnMjZF5EZywIEXQCTuUBaPVXfpf-kizDx7jbMbwbuxZEovmXYyeQYgl0lqKR8XVaywrU5SlR90tag3o-i_bhHC5gXZ4cyu13eryNawURhUTm4SnCzvQmx4xAo5Q_KNjuvkLeLSMuYDQVLLAdR7jfQLqZnL1luoqqKQmoy6UL5fxwnL6PRjjGjQQVmnas512Q2Xa25XsDwxhad8gg.oocU6wMYadHR4ykSyc5DSQ.Vxy6MrVYaN54kyGZJ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": 3599,
    "id_token": {
        "at_hash": "_2NUSI39yVAUn6C8GLFIZw",
        "aud": [
            "GlLDEq3MaYuQanjsjXNc"
        ],
        "c_hash": "sq67U92Ff07XZVYVOflyGQ",
        "exp": 1560787265,
        "iat": 1560783845,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "I6fg6gkGIoQvR09V",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "S3hJJ8TAQGeXVpAo",
    "token_type": "bearer"
}
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