Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-ClientAuth-SecretPost-Static
Test descriptionAccess token request with client_secret_post authentication
Timestamp2019-06-18T04:17:55Z

Conditions


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 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "ipN02PE409n6rCho",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "BGvEGpWdDA6mDECO"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=BGvEGpWdDA6mDECO&nonce=ipN02PE409n6rCho&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=BGvEGpWdDA6mDECO&nonce=ipN02PE409n6rCho&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
2http args{}
2responseURL with fragment
2responseid_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.aG5U3r-ZRPJRb85jjjzOYkgdbxd8cL2_Y5zj4wZwTdsl_aCQY78vkQ.U-uHNmTuA8gNbr6fnujbXw.CH1MRp4sM2grZCgDNKWbbQ84bDEQJC_HuLPW1_Hn1AQoQVN8kejk3ntchcugcTSQBg-rXX7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p4sM2grZCgDNKWbbQ84bDEQJC_HuLPW1_Hn1AQoQVN8kejk3ntchcugcTSQBg-rXX7PA3c0vxbe_JQW77rHVIRYcyPf9PmZa7UE3BNSv71UkrdG_NeRqAXn7MOIaFsAmM98jtdIqYk5EKDehucYTUUtN1c3MFz_np_16woVThp7wTIzTjpxUOgyECQGu0hfM8WdkZRaXzhmKBSbBxFdCLS6uos-UkqFMhf1bGcgi-9wH0yIel8NKfWQ_CnHr3B-rMdwgtUHJXUGeObeoUygdWWTMSv36my3ZBHWiTbK8K1QPZ9PuQFTSJFOWlooy5ehV99f3mhUKgA4G4O1WZiYggri6joJQeEzKMRL7G6Hq-nlxOnj8ia1pU2AD5FQVZg6xEUIe4n5i1aRhUGX_yWl0ieL5SNH9h-OsQbvQfp8JIHqzsuok_RduXDatpQILIjNJ00QZ6GYm4-hLkaqJThSpjWC7gcgAuAD-oke5-3XO7zXOf0nT3Or8ChqpQ0HtJEgSB6ZXunvXIyAuSWrftp3aOUJZ-jg-wDXW2KwAiGPd8TYh3GnZIWLWHayU9mTMhO70UrqKG7A4q2stLZMCiX-pP5UQ7R66OGvx99fDrDRAovZJa27N9GjDFtApHGtDEy5NWjydKTgrEn8lnpecXgm4YuTxoB0eHtE_o7Vfbo04V5ZtpUBoHKDZQ8IvNMrlc5G_2cFKgUQD7vBuYg5pdu0Hr-mC_iLsSH1K5rAbRDdWvV4le1Z1bHTqXNl1VDGi17rQErVNzGhc0fcukIUMdf6UjgXsYZxAs7lDSepuw1Igx8wqhkMR3KIh80Ke_w-b1MOTJWzsGOXYZOEVAz3CgMZOYfxjBQzh035hC-MX2O0HuOOZ1vh1CgUwaFwOES4.VxoQ26oF3kjl3AkfT314yQ', 'state': 'BGvEGpWdDA6mDECO', 'code': 'RqOaGxt5fJLbEpimNcIPaoaGK9hphC'}
2AuthorizationResponse
{
    "code": "RqOaGxt5fJLbEpimNcIPaoaGK9hphC",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "GBzl57uqb3iiyyuEiaDMbw",
        "exp": 1560834893,
        "iat": 1560831473,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "ipN02PE409n6rCho",
        "sub": "testuser"
    },
    "state": "BGvEGpWdDA6mDECO"
}
2phase<--<-- 3 --- AccessToken -->-->
2requestop_args: {'state': 'BGvEGpWdDA6mDECO', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': 'RqOaGxt5fJLbEpimNcIPaoaGK9hphC', 'state': 'BGvEGpWdDA6mDECO', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'BGvEGpWdDA6mDECO', 'authn_method': 'client_secret_post'}
2AccessTokenRequest
{
    "client_id": "clientID",
    "client_secret": "clientSecret",
    "code": "RqOaGxt5fJLbEpimNcIPaoaGK9hphC",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "state": "BGvEGpWdDA6mDECO"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&code=RqOaGxt5fJLbEpimNcIPaoaGK9hphC&state=BGvEGpWdDA6mDECO&client_id=clientID&client_secret=clientSecret
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'DmXClAkzkuxsjdELEHpn', 'refresh_token': 'iFeigtXJOWw2NTvpUYDCW4U0JXEXhZrX5OEERpJs', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.3j9oXpLsY5A7_XIM7PU2rlQJIP2VopQHJuVK8w7ybOx3scD17ud8pQ.-ZBcftlJQBWEsc6ftGwoeQ.JU6S_hheaYog9EOnOEQGLuQEPssibtfPS9APVSX71gGT4k7oNzROvKtX6wgnTtYfnyQNNyLAwdZs7_EHaPEWYBZ47mhkooBNCd_ug2hunhEBUdGBhMGTJ5iAjRIiB1iDWBnBzJP2YrtxxB47TKECOgCH5mA-av1PJffvqli7Q-85GvPCpiyqoAUltyj4d7cdylFu-aJSr3oUaB8K9hhvlfhgVMB9spZiTE7cQj0mJwE5p7XatvZ0N814phEgsDkQQQDPJULrRO9LKrXl0rLjke2f4jjpdUly65tObkqeGoN0XL4jZLkMisR227brAn_vYtV_FtWaBYqbrbcSy2s3p-u3bmJB-l9NXE_kHjdEuZCG1Yf2eeYkk2uO6CCY5G0Bptmt1DpACBdTvCKa-PaKhYWghtXlZyP-jGiWMSIQFZ8f7wZ4lTuRUFacv66Lz6iL0NUHLHZEDKfiAfn65yeCPpVgkIKxGm_QiU33FHx3dZ33R6TZideLexoHUuOtArohZegrOmsm3dDD9b6IRfYpB5FXtO0O_CJEMkDQfWGz6qkgqVB3rWD1tCUuK1fW8h4fUXL5kEMfApBrO8yeLkcWbOSyjmO1-EOOqZmmY2V61_42RQ09C_j71WXORNWlH19LrDgrc7O2FLQlDGXvfMe6XzUUuQlqmpkX4YguZfYP10Ohn5JSY00edwS_HFVyUltZXxsgz2WbgYke6qTB22fJhHB_jZR9kwVb6Q1AYRpvPSeYOb5o54RjMKQWhaT-dT7tfUPOfTDSKLYIw4zMjlHjeNIYyynV8jX0hmYyAACxyrjEt9hSDSY9IqW-mZy8E895yIahcIbm2-40PcqyY2pM8crP9knO-dK0jwHAc4mbR3P7d-qeLbCrK1Jq8IaJuKxFXYBKrC32QZ-HSPNg81AG6RVcHC5JVKy49UrwbvmJLCXJGf8I2-jBF1RqsIWLnvCY.K1BiSivSiCjDuI6UY53wzQ', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "DmXClAkzkuxsjdELEHpn",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "Vkcu3vW_TSrvLRzmRB7LUQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560834895,
        "iat": 1560831475,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "ipN02PE409n6rCho",
        "rt_hash": "vrNiuZs6hCtqUcVa3rpn1g",
        "sub": "testuser"
    },
    "refresh_token": "iFeigtXJOWw2NTvpUYDCW4U0JXEXhZrX5OEERpJs",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
3phase<--<-- 4 --- Done -->-->
3end
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