Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-kid
Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Timestamp2019-06-18T04:10:58Z

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_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"
}
1phase<--<-- 2 --- Registration -->-->
1not expected to doDynamic registration
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "xuMoedxTcuy2FuS4",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "Xdjs6JqYi3w8MM6L"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Xdjs6JqYi3w8MM6L&nonce=xuMoedxTcuy2FuS4&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Xdjs6JqYi3w8MM6L&nonce=xuMoedxTcuy2FuS4&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
2responseResponse URL with query part
2response{'state': 'Xdjs6JqYi3w8MM6L', 'code': 'kEoBpUDZUSvojZdoAWHzzeXPGufaoy'}
2response{'state': 'Xdjs6JqYi3w8MM6L', 'code': 'kEoBpUDZUSvojZdoAWHzzeXPGufaoy'}
2AuthorizationResponse
{
    "code": "kEoBpUDZUSvojZdoAWHzzeXPGufaoy",
    "state": "Xdjs6JqYi3w8MM6L"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'Xdjs6JqYi3w8MM6L'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb', 'code': 'kEoBpUDZUSvojZdoAWHzzeXPGufaoy', 'state': 'Xdjs6JqYi3w8MM6L', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'Xdjs6JqYi3w8MM6L', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "kEoBpUDZUSvojZdoAWHzzeXPGufaoy",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "state": "Xdjs6JqYi3w8MM6L"
}
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%3A61764%2Fauthz_cb&code=kEoBpUDZUSvojZdoAWHzzeXPGufaoy&state=Xdjs6JqYi3w8MM6L
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'iVSXhXcJSB83GpY6pTiC', 'refresh_token': 'goCUp8zSHVGiNkGiFyJPSL3YScuiEbgpUDscI5gW', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.CIhAS2dYhtGWL79OMtm1rKDJ-WpAdE7P8Kj48vOl82-aV4VogpN2qw.EOC5XPVvCMc34G8zYmCTew.uZIip_vvCFEqqVyzuC1-3v8k_y22Rj6V4Q2qDYmSXyeMk0GCjByH6yNcIrUke9G4NWnYnAd89jma4pTY5EQP90lJsLahfcd7F9_xgkEUi__1U8f7wXO67K44rL2P0h369-JSfFbte3T7A30sd7yl-nKOvsh4ngwkNTcXQE4esy1Min4nba6MdgFU1HzMRQW2pUpsDJ7rGaf4d_Tg2YnxxHgIEOfTZM2AY_ushoAbWvxqSWh50g44C9Qp23G1LtRA5KwueGGtMqhw_TWhFHE8NfvlJhjQcmHEo4XyqgXTnBfCiiFAZB3cKk2fOs54TWNsGXvr4X82aPlIvNlIhS_pp2xASyfWNMw6AcKls_y82yMQJqn5TWOK3n2ii_DyJ-z7kfK2C_ohdwVLq9rE_vLpuP4FnwnvGzAnnq7V0gqEV-OFkUkq3yWpTsGlrEYswmp0OvFfJivEb447UXfbszXN0nqSZG7LzV3DjGgX7R7WHIKI53aIjlpxhC4m3bumCpTNUL3jIroLFSvpcSF0xz6quSHEwZRuwD1H0-5yJXIXET09ASMTbkH_R1ckAz2vej95M8-1TvsWoHZju3IJhp98yz3D4n-AgKiXLrdzlLP10FiQbjKfv-GgEtUuE1V44DBhx0UWncaC2K6zA0wYnDGaKM9QG7duv4-bepjUiGtI4FDI0VrpJyjt8H0RKJljaURjLpznkXKWNabyHXFeTTZVwVrmm-GOkeHIeyxeYlbHxLFomx14wbxPy-xtttPaozMhov7r8f2oDiDtT1G96vs0tSKM7TZAf0mvu6ANjhGM-poQgfEQ8dE3jovramUwdcOw_SoEwTsPaNUPjdQK2pqOFkVR7QBGO-EMTT0qIuDlVZIlaqSEB3FX3KDKwuTmEK62ipNncwsCGPECkdsntBhaY5R6NzSbR3HA95YUJVQPghcLV7d1o1eR4x-jGDuPmp_u.G4TQr5qMcYTeOOkJOeRghA', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "iVSXhXcJSB83GpY6pTiC",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "pwzyqIheg1yIWCh--0CRsg",
        "aud": [
            "clientID"
        ],
        "exp": 1560834478,
        "iat": 1560831058,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "xuMoedxTcuy2FuS4",
        "rt_hash": "pFkIjebAiAGaWEIz5Krnmg",
        "sub": "testuser"
    },
    "refresh_token": "goCUp8zSHVGiNkGiFyJPSL3YScuiEbgpUDscI5gW",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
2phase<--<-- 5 --- Done -->-->
2end
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2assertionVerifySignedIdTokenHasKID
2conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
2conditionDone: status=OK

Result

PASSED