Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-nonce-noncode
Test descriptionRequest with nonce, verifies it was returned in ID Token [Implicit, Hybrid]
Timestamp2019-06-18T04:14:59Z

Conditions


check-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
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": "YbDXnkLMrxclqtCK",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "TIKFV9uncwV6Ns4h"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=TIKFV9uncwV6Ns4h&nonce=YbDXnkLMrxclqtCK&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=TIKFV9uncwV6Ns4h&nonce=YbDXnkLMrxclqtCK&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
2http args{}
2responseURL with fragment
2responseaccess_token=2VUZbw5QeNMfyMxJJlM5&state=TIKFV9uncwV6Ns4h&expires_in=3599&token_type=bearer&code=Ug27uqpND1FRP54edbOV01S1VSAQAw&scope=openid&id_token=eyJhbGciOi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InYQ-szH4kiJzz0Nqz.2Dp6LHpppij3GGJgDNBqOw
2response{'access_token': '2VUZbw5QeNMfyMxJJlM5', 'state': 'TIKFV9uncwV6Ns4h', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'Ug27uqpND1FRP54edbOV01S1VSAQAw', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.MTQ6nx3F0BqSkIKnyE3BZEUlrN-MlcuX5xmQk7ecHrPIBGqHSBusWw.2tZOh2HPFHib1wNkf9N10Q.TgLNB6jE89QUC6sO4SGLnW3-CvxXkTGz4lZ71c_GiA-wVe1KLQR2hZ6HlbVSgiDR1TE8Yg0R2V0w8UK4M3qjil4rT7FyANWqZrz6D6tcK9kCUJT9_SvHIy-o3PC4LPcEojRYl1kk3-Kmgdee0aBdwmyb60rC60y6Mrt2Fmi9M_bYz5mdOaZVyWeb_m76yBCmSo0R9BWP14nsPxMp1XrbqCoq5UUU8xXwM9PuzWAeYBGFhhtb88OqyAyKis8pMeZC0vzyB5xocXYtV3ueJH6NgxhbEj583-0XsbPCb0-JFBty5312JFMUu-ByxfQkC_fu_qP0BUStpGRtb2cwnU7AwupUO353fzGziFHWNwR9xIjiUzRYzQHY_winnRX0ctpl0yzO_Srr8yf5Ot7aZRt1W3tBxWwKpOaSJz1CobgNgzQp-Z7DVtjMBS687tTW_yongs_-wsAbGeACe1j6EATxR4wpqMWhjQEHdagSW5WkP6yMadooHyBf-Rbun25tSffdWwHkZi268mLRTSZr2lfdxiQdfyApNvTLiY4XBhRYHHp1sv25VRt3oPfWiGeUinkh7795hw_5PTM_HHCbY06iJvoMZiWbHyml3XiHCw5cCE8kJ-UuclQhgza7LBa8Z4Z-ZJI_hmZqyV6HCjT2io9cYZc5UHgI7T0bozv-R89iDAXYK0GuV6hepXxHWw2hh3H7XI5FgrEl34ZL4JhJwGfK3TehIzwmHSN9ReQ-qSy7UvAJOoAx_dwYfzBoQeadsm-CCntwW0nSP9w7aneuyKP4VPACnagLE3azY7iQJp57PryrbWBjjvrv_16bRUSqZwL92usmcaa2lTQjCrIAOQy1L9hJ7PpncHU5-3W3sHxe3MYU39LiMA1v4rxqBeTCK3AGeiW5xfQmoeDUi1sEwTwVPt0zGAlxKYXYyAlpFkQT5kARsEInYQ-szH4kiJzz0Nqz.2Dp6LHpppij3GGJgDNBqOw'}
2AuthorizationResponse
{
    "access_token": "2VUZbw5QeNMfyMxJJlM5",
    "code": "Ug27uqpND1FRP54edbOV01S1VSAQAw",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "-3uGBXYrjtE-_fXmMHvH0Q",
        "aud": [
            "clientID"
        ],
        "c_hash": "5xQHwkePBODz4QAlFdTOLg",
        "exp": 1560834717,
        "iat": 1560831297,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "YbDXnkLMrxclqtCK",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "TIKFV9uncwV6Ns4h",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'TIKFV9uncwV6Ns4h'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61773/authz_cb', 'code': 'Ug27uqpND1FRP54edbOV01S1VSAQAw', 'state': 'TIKFV9uncwV6Ns4h', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'TIKFV9uncwV6Ns4h', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "Ug27uqpND1FRP54edbOV01S1VSAQAw",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "state": "TIKFV9uncwV6Ns4h"
}
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%3A61773%2Fauthz_cb&code=Ug27uqpND1FRP54edbOV01S1VSAQAw&state=TIKFV9uncwV6Ns4h
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'daBNEZ39htjYcl6Xz4tr', 'refresh_token': 'nqvILtsGrUgfYalQtZeUrC6EHL2srP89zaqzxgMp', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.1VW5mAI7CCjO5pnvi-DIJOlD7sonaNrnTQQNCBZEQ6RolYekQvUtkg.ukM_1NPXtoYlr8A9LxYWYg.B3B66vtEPhrIiqN0-UipalSs44lUWt6c3CVg1V2dLZ8eIp5AD3pIi75kSIodu278c79mtDZZiwk-AEBBNTcGsMXgYXVApuur3y3s2_nsuUOsXOT4m9WZnvsApUyUVrikzysWpbya4oIIwo786W2_-p7RqoXjC_bylOxRsMCLPWPb86uc3Nh_6goCaTaFlBvjAVyxGDqob_vZlVnCl98QH1zb2JRMkRJjk-zCjOhelC2Ttg2q1lr6KPm1W6SGNydZWK58dd0qZcQp5umt2MFMjTN5ErfKiIKlXOQPfg2QjvgptiqK7bH3jzXiWkKh81YoPHv8r9dZLu8aJfqoZSSHf9TurbzFNmS038QKQO5yAiVKJpyKr9ovIPK9PgHVX1OY6Kxccqmz-FRyu72LFuaCJIe_yflnn2I7GU8ozHo5ENnf3Qf3LGSNEtwXxc-QsGlFCYO3tfAJr2TdJXY8LpQCgAcuVQXPUA41Z8NKCme_y_8hApeRwq3aRI8wnwCkU60Nhg4pXmdwmev2q0DHjxX1uAiqC0o2ywMcYk9Wap60DoUo97KJUOnaJq2wQQhKr-hJuWHfKLOmFUtsgIn7yiQUSzV_xTZD0zf8nPE4UUSedlDCFmQ8fWMmsgEaVDlp0QMfWSrU2ECGgzE9zzoEQDT5dlmPk8Kn1sjy57pDBa2pzy1sCwdmAkvWeau29jCWmdzSS37eXpbP7GR4HCZ47KRwIXryKNgGPVflwmNxrTZOI6sHTHEq0aOgU8qC7iD3n86v7DnJFGtgoiDEU_YfYgyS3MMBYmTFAZInbUlIFKYax0Ir1NP3RfN0PlNM7LqDzIRseJ84cYgn9evlIprI7NkS--WPCjz7A3zqP-W9hQzREQ0C0MLe1L397Oep3mNdfQwKBPl2T4PRdsntJ77gjX8mLiEg67zSVRLPqx-GDnkjUhDKMYlH9MOEqGzR2kP_6vsB.xQSf8IJcTgKCSNhay4MK3Q', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "daBNEZ39htjYcl6Xz4tr",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "yHA90omYPLSRTjAqvTQ3Cw",
        "aud": [
            "clientID"
        ],
        "exp": 1560834719,
        "iat": 1560831299,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "YbDXnkLMrxclqtCK",
        "rt_hash": "YNqh8z7W9lUKyNcQzGDRIw",
        "sub": "testuser"
    },
    "refresh_token": "nqvILtsGrUgfYalQtZeUrC6EHL2srP89zaqzxgMp",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
3phase<--<-- 5 --- Done -->-->
3end
3assertionCheckIdTokenNonce
3conditioncheck-idtoken-nonce: status=OK [Verify that the nonce in the IDToken is the same that's included in the Authorization Request.]
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED