Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-kid
Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Timestamp2019-06-17T08:22:27Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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_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"
}
1phase<--<-- 2 --- Registration -->-->
1not expected to doDynamic registration
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "416b7jZgSSjAfhcY",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "MQZbd8BVUDILOXoo"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=MQZbd8BVUDILOXoo&nonce=416b7jZgSSjAfhcY&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=MQZbd8BVUDILOXoo&nonce=416b7jZgSSjAfhcY&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
2http args{}
2responseURL with fragment
2responseaccess_token=mmtZ1AgGDL6OBmaROAMu&state=MQZbd8BVUDILOXoo&expires_in=3599&token_type=bearer&code=wMWIBf2OCiyKIwgHZkWDySxUDbtL3e&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjQxNmI3alpnU1NqQWZoY1kiLCJpYXQiOjE1NjA3NTk3NDUsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJpaUVMdWJfQVJzOXAySk5BWjFydllRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMxNjUsImNfaGFzaCI6IjZaQi1QS3FHMXd3eW95emM5ZFo5b0EiLCJhdWQiOiJjbGllbnRJRCJ9.NoFHwyKUVludmL9GYhSKotpF_d7wz7h9759PC7OjXRDLdzNopPASQyEP0oTtck8GpCGfEHSdWgVlt6Uii89utGiOmL8fJ7NQ2Ie3qiOQVaL6GjB7pZ9yoPMCChSvHZxDpQl0wTOd_OYnLM-l6NFiNQyirVT2yBXGDgI3_IcP9x_jmtH3zJI_UGu9H53yJfX7velWew97TaVEegvm-8V6naldBrWhFF896xJ73INBcVRxnKxwlifcEJ0KL0Xvg2AM1QNQF50-IPCg_WieFbRrqMxMVYN44RpkSp5CTlku6lU3Pb41DVRJTPY9hRQ_ED01zx3LhuKAhwzfgJoHhJBq_g
2response{'access_token': 'mmtZ1AgGDL6OBmaROAMu', 'state': 'MQZbd8BVUDILOXoo', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'wMWIBf2OCiyKIwgHZkWDySxUDbtL3e', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjQxNmI3alpnU1NqQWZoY1kiLCJpYXQiOjE1NjA3NTk3NDUsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJpaUVMdWJfQVJzOXAySk5BWjFydllRIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMxNjUsImNfaGFzaCI6IjZaQi1QS3FHMXd3eW95emM5ZFo5b0EiLCJhdWQiOiJjbGllbnRJRCJ9.NoFHwyKUVludmL9GYhSKotpF_d7wz7h9759PC7OjXRDLdzNopPASQyEP0oTtck8GpCGfEHSdWgVlt6Uii89utGiOmL8fJ7NQ2Ie3qiOQVaL6GjB7pZ9yoPMCChSvHZxDpQl0wTOd_OYnLM-l6NFiNQyirVT2yBXGDgI3_IcP9x_jmtH3zJI_UGu9H53yJfX7velWew97TaVEegvm-8V6naldBrWhFF896xJ73INBcVRxnKxwlifcEJ0KL0Xvg2AM1QNQF50-IPCg_WieFbRrqMxMVYN44RpkSp5CTlku6lU3Pb41DVRJTPY9hRQ_ED01zx3LhuKAhwzfgJoHhJBq_g'}
2AuthorizationResponse
{
    "access_token": "mmtZ1AgGDL6OBmaROAMu",
    "code": "wMWIBf2OCiyKIwgHZkWDySxUDbtL3e",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "iiELub_ARs9p2JNAZ1rvYQ",
        "aud": [
            "clientID"
        ],
        "c_hash": "6ZB-PKqG1wwyoyzc9dZ9oA",
        "exp": 1560763165,
        "iat": 1560759745,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "416b7jZgSSjAfhcY",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "MQZbd8BVUDILOXoo",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'MQZbd8BVUDILOXoo'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'wMWIBf2OCiyKIwgHZkWDySxUDbtL3e', 'state': 'MQZbd8BVUDILOXoo', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'MQZbd8BVUDILOXoo', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "wMWIBf2OCiyKIwgHZkWDySxUDbtL3e",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "state": "MQZbd8BVUDILOXoo"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&code=wMWIBf2OCiyKIwgHZkWDySxUDbtL3e&state=MQZbd8BVUDILOXoo
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'AxG7hTv9OuF0nGTx2pEd', 'refresh_token': 'NRrN4n92m699YTRbJIWE5q80GGmfmh8WmnvWeTT7', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiOHJVOVBDR0dZZkc2Q3RJX3NBSzNXQSIsIm5vbmNlIjoiNDE2YjdqWmdTU2pBZmhjWSIsImlhdCI6MTU2MDc1OTc0NywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjVBRnZLaUZKT0JpYkFJYXhta0lOc1EiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzE2NywiYXVkIjoiY2xpZW50SUQifQ.HZzbyYh59pDwwrapSuq0G52ifqnLcLWydLurO3wLKehc5iE5r18OlybTrZeBAwv08si04k93Rjb_QowptH-X0En0UPfiJdss2QyMndUm8N1uP5L38lbbFc4Eb7Ip9b5ct2zzNqD_6G6n8_yhNLzR88YT_QKJ5n3VG6Otu5JvV_g9XjmVFxKQbjtuDv4r5arC-VtxNOh_yDu9M14yCcZIw7Dubn6_PvqecZtRaPGfGd-7mFRiMmOPpXghi0zgJCRt5kDz6TdS8bsJV29QEeB6o-k6rKEdcTNj6HWU_1wzM2gNvGkbyclmppJ6W5_7QJMQEkP32N-sDgOWTKcsUQ5Ucg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "AxG7hTv9OuF0nGTx2pEd",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "5AFvKiFJOBibAIaxmkINsQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560763167,
        "iat": 1560759747,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "416b7jZgSSjAfhcY",
        "rt_hash": "8rU9PCGGYfG6CtI_sAK3WA",
        "sub": "testuser"
    },
    "refresh_token": "NRrN4n92m699YTRbJIWE5q80GGmfmh8WmnvWeTT7",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- Done -->-->
3end
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3assertionVerifySignedIdTokenHasKID
3conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
3conditionDone: status=OK

Result

PASSED