Test Info

Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Profile[]
Test IDOP-IDToken-kid
Timestamp2017-12-18T20:59:05Z
Issuerhttps://oidctest.idautoengineering.net/idp

Conditions


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

Trace Output

0.0phase<--<-- 0 --- Webfinger -->-->
0.0not expected to doWebFinger
0.0phase<--<-- 1 --- Discovery -->-->
0.0provider_config
kwargs:{'issuer': 'https://oidctest.idautoengineering.net/idp'}
0.024http response
url:https://oidctest.idautoengineering.net/idp/.well-known/openid-configuration status_code:200
0.025ProviderConfigurationResponse
{
    "authorization_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/auth",
    "claim_types_supported": [
        "normal"
    ],
    "claims_parameter_supported": false,
    "claims_supported": [
        "sub",
        "name",
        "given_name",
        "family_name",
        "email"
    ],
    "display_values_supported": [
        "page"
    ],
    "grant_types_supported": [
        "authorization_code"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "issuer": "https://oidctest.idautoengineering.net/idp",
    "jwks_uri": "https://oidctest.idautoengineering.net/idp/profile/oidc/jwks",
    "request_parameter_supported": false,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": true,
    "response_modes_supported": [
        "query"
    ],
    "response_types_supported": [
        "code",
        "token",
        "id_token"
    ],
    "scopes_supported": [
        "openid"
    ],
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic"
    ],
    "userinfo_endpoint": "https://oidctest.idautoengineering.net/idp/profile/oidc/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
0.025phase<--<-- 2 --- Registration -->-->
0.026not expected to doDynamic registration
0.026phase<--<-- 3 --- AsyncAuthn -->-->
0.026AuthorizationRequest
{
    "client_id": "3000badf0c55d2cae7c22b3d63e3f667",
    "nonce": "naxCplnsGSG2mEtj",
    "redirect_uri": "https://op.certification.openid.net:60992/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "WiVrCvdJCOc8YWM2"
}
0.026redirect urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/auth?scope=openid&nonce=naxCplnsGSG2mEtj&state=WiVrCvdJCOc8YWM2&response_type=code&client_id=3000badf0c55d2cae7c22b3d63e3f667&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.026redirecthttps://oidctest.idautoengineering.net/idp/profile/oidc/auth?scope=openid&nonce=naxCplnsGSG2mEtj&state=WiVrCvdJCOc8YWM2&response_type=code&client_id=3000badf0c55d2cae7c22b3d63e3f667&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.338response{'code': '13p3Fs6kBji4bWSW5kiFGuvFL8QkEbOmL5g0-4oTImJaFEz-rc', 'state': 'WiVrCvdJCOc8YWM2'}
0.339response{'code': '13p3Fs6kBji4bWSW5kiFGuvFL8QkEbOmL5g0-4oTImJaFEz-rc', 'state': 'WiVrCvdJCOc8YWM2'}
0.339AuthorizationResponse
{
    "code": "13p3Fs6kBji4bWSW5kiFGuvFL8QkEbOmL5g0-4oTImJaFEz-rc",
    "state": "WiVrCvdJCOc8YWM2"
}
0.339phase<--<-- 4 --- AccessToken -->-->
0.339requestop_args: {'state': 'WiVrCvdJCOc8YWM2'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:60992/authz_cb'}
0.339do_access_token_request
kwargs:{'request_args': {'code': '13p3Fs6kBji4bWSW5kiFGuvFL8QkEbOmL5g0-4oTImJaFEz-rc', 'state': 'WiVrCvdJCOc8YWM2', 'grant_type': 'authorization_code', 'client_id': '3000badf0c55d2cae7c22b3d63e3f667', 'redirect_uri': 'https://op.certification.openid.net:60992/authz_cb'}, 'state': 'WiVrCvdJCOc8YWM2'}
0.339AccessTokenRequest
{
    "client_id": "3000badf0c55d2cae7c22b3d63e3f667",
    "code": "13p3Fs6kBji4bWSW5kiFGuvFL8QkEbOmL5g0-4oTImJaFEz-rc",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:60992/authz_cb",
    "state": "WiVrCvdJCOc8YWM2"
}
0.34request_urlhttps://oidctest.idautoengineering.net/idp/profile/oidc/token
0.34request_http_args{'headers': {'Authorization': 'Basic MzAwMGJhZGYwYzU1ZDJjYWU3YzIyYjNkNjNlM2Y2Njc6ODY5N2E4OTlhYzFjNzYwODAyNmM4ZDEzN2E1YzMzYTAwM2RlMDA1MDc2MzBmMmQ2OGM5NTNlMTNkNzVlNjFiYg==', 'Content-Type': 'application/x-www-form-urlencoded'}}
0.34requestclient_id=3000badf0c55d2cae7c22b3d63e3f667&state=WiVrCvdJCOc8YWM2&code=13p3Fs6kBji4bWSW5kiFGuvFL8QkEbOmL5g0-4oTImJaFEz-rc&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60992%2Fauthz_cb
0.379http response
url:https://oidctest.idautoengineering.net/idp/profile/oidc/token status_code:200
0.381response{'refresh_token': '9ySG23muACZXK_UnB0W8EyJMjfAfpF-3uPXZ6AyfoU9.xCamU-', 'expires_in': 32399, 'scope': 'openid', 'access_token': 'S6ruGswp3jDfKe7cHLSqO_lH-Dvv6WEE-HSSrnM845rpU1G0xy', 'id_token': 'eyJraWQiOiI2NTJlNjk1N2UxNzNmYzYxOTYxN2ZhMjNjMzZjYmFjNTRhNWZhNzhlNjBiNzA2Mjg5NmI2ZDgzNTdkNDVhOWYxIiwiYWxnIjoiUlMyNTYifQ.eyJpYXQiOjE1MTM2MzA3NDUsImV4cCI6MTUxMzYzMDgwNSwiaXNzIjoiaHR0cHM6Ly9vaWRjdGVzdC5pZGF1dG9lbmdpbmVlcmluZy5uZXQvaWRwIiwiYXVkIjoiMzAwMGJhZGYwYzU1ZDJjYWU3YzIyYjNkNjNlM2Y2NjciLCJzdWIiOiIyNjIwMjdhMC1hZjc3LTExZTctODc2ZC0wMjc0MGM1NDljY2EiLCJhdXRoX3RpbWUiOjE1MTM2MzAzNDgsIm5vbmNlIjoibmF4Q3BsbnNHU0cybUV0aiIsImF6cCI6IjMwMDBiYWRmMGM1NWQyY2FlN2MyMmIzZDYzZTNmNjY3IiwibmFtZSI6IlN5c3RlbSBBZG1pbiIsImdpdmVuX25hbWUiOiJTeXN0ZW0iLCJmYW1pbHlfbmFtZSI6IkFkbWluIiwiZW1haWwiOiJqYmVsbGFzc2FpQGlkZW50aXR5YXV0b21hdGlvbi5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiYXRfaGFzaCI6ImtXNl91d2ZSanA5dTN4ZHJjVWhZMkE9PSJ9.dZI8WcOskHOQB9pk-EqAwRNJus1D1_xeZlJO7lJslK69MCs4oDT4Q6EVJBK8dl6Om2wLaNgAU1Rq_RwfxFXdcnWHYa_FGlagEqAzMoGwuXYSJe2_oo-iQOG2I09ARuvwIl94668Ra5CBCvzvBdcQgUqLKEz7EdifMutRFIvx0ZOkxUPAXWrEBdCQ320vbVpEN3LVceCpHO4fZaUGGRZHaSqqjjDiZnPhqA0PPOpZ6ogovH9nG8XQOC8f1lGajuyNaf5-0aLnsk_ADHeE2IlQz2pA1CaFASfcYjt-Dk15tgG2_s2wwrHUkLtBA3yuNHJUd3tFuM95OJ62EIUzSvUcBg', 'token_type': 'Bearer'}
0.406AccessTokenResponse
{
    "access_token": "S6ruGswp3jDfKe7cHLSqO_lH-Dvv6WEE-HSSrnM845rpU1G0xy",
    "expires_in": 32399,
    "id_token": {
        "at_hash": "kW6_uwfRjp9u3xdrcUhY2A==",
        "aud": [
            "3000badf0c55d2cae7c22b3d63e3f667"
        ],
        "auth_time": 1513630348,
        "azp": "3000badf0c55d2cae7c22b3d63e3f667",
        "email": "jbellassai@identityautomation.com",
        "email_verified": true,
        "exp": 1513630805,
        "family_name": "Admin",
        "given_name": "System",
        "iat": 1513630745,
        "iss": "https://oidctest.idautoengineering.net/idp",
        "name": "System Admin",
        "nonce": "naxCplnsGSG2mEtj",
        "sub": "262027a0-af77-11e7-876d-02740c549cca"
    },
    "refresh_token": "9ySG23muACZXK_UnB0W8EyJMjfAfpF-3uPXZ6AyfoU9.xCamU-",
    "scope": "openid",
    "token_type": "Bearer"
}
0.406phase<--<-- 5 --- Done -->-->
0.406end
0.407assertionVerifySignedIdTokenHasKID
0.407conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
0.407assertionVerifyResponse
0.407conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
0.407conditionDone: status=OK

Result

PASSED