Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-ClientAuth-Basic-Static
Test descriptionAccess token request with client_secret_basic authentication
Timestamp2019-06-18T04:11:01Z

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": "D6S5IVMsMyFaoiaS",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "BDbG5sfoo0RszcOa"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=BDbG5sfoo0RszcOa&nonce=D6S5IVMsMyFaoiaS&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=BDbG5sfoo0RszcOa&nonce=D6S5IVMsMyFaoiaS&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
0responseResponse URL with query part
0response{'state': 'BDbG5sfoo0RszcOa', 'code': 'UC1HlFIW4GwtYzp6puZ1EJMUoCOIYk'}
0response{'state': 'BDbG5sfoo0RszcOa', 'code': 'UC1HlFIW4GwtYzp6puZ1EJMUoCOIYk'}
0AuthorizationResponse
{
    "code": "UC1HlFIW4GwtYzp6puZ1EJMUoCOIYk",
    "state": "BDbG5sfoo0RszcOa"
}
0phase<--<-- 3 --- AccessToken -->-->
0requestop_args: {'state': 'BDbG5sfoo0RszcOa', 'authn_method': 'client_secret_basic'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb'}
0do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb', 'code': 'UC1HlFIW4GwtYzp6puZ1EJMUoCOIYk', 'state': 'BDbG5sfoo0RszcOa', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'BDbG5sfoo0RszcOa', 'authn_method': 'client_secret_basic'}
0AccessTokenRequest
{
    "code": "UC1HlFIW4GwtYzp6puZ1EJMUoCOIYk",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "state": "BDbG5sfoo0RszcOa"
}
0request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
0request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
0requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&code=UC1HlFIW4GwtYzp6puZ1EJMUoCOIYk&state=BDbG5sfoo0RszcOa
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
1response{'access_token': 'l7o016wNVxeYp0DXs535', 'refresh_token': 'JumLpYa0lUPuWaFdKnFyWcfnzY4TadJkzVU0vnV3', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.1_eoYl9CCeYvW2rifoOQzZPteOK2TE7tjv82RooGwQEI-YGzTE05-w.Bds3lsMhKSW_P7ipt8FHrQ.sQ_RHUK65nPNF6YpLEnjh3nPg_VDBqyOkwRjjdcaBdxsOf2ZaVmEet3CmxKOA_etBhQ51lSj7lBISG9D14oksDzYcqBb5rMmnuBHUkIe_9V1yvvhzpKjP2hiuUDdfxKAIH5k3fzWke9sqmXvoFrCA74Dj8EK5_e3dfBAeQyIT7TYx2QkN-hMHIG8OJJ6IgCzixht_stGi9ABJXgYyL_sysukT21Usv8B-2ezWC3LF8mZ8PZQpvkRIzpIpoNSKU14BWcCZTo4EV_RDz_wjSkDDBf8b59PXKR1cjHyyf9ySjLsXDyznEQ8rbVtaVo5MW9jRKDN3mtWzMTIAwJC8PnBywCOeESCtSgpned_8iHXCks_YAhdAnJIL1h3N6iCmsUssRdNinCUoWipUoWzS-EVRhNh_Lvj8_4IGgGS3CYEMLmZ15uAOhXQpGbtKiU7iHpG1U9FwT_W1OMRtNoxuUY_mGhtGdayMQvtBvlODd9_U6FqMfaxCxOv7UwNwJcPWarZYOxHvDgmI5aIiJ-0jaMYMhCPJFq_GgQO-Q6Dkf_BH8YLLP1EVaKjihL9Z7BHyM9EQAybNnieBWO_Xb1vkyHp5jiPigGRpzB2ieHxK6rHFzNhpxkZl6l2fzf1Kv-CfeZiJubUS_cjA99NN9AtZQsAodCwaKCIJZblD7MpLQWwDkQ_rWM6juaLyeN5mwVCBFySYRaOfbCAcD1-CENJABoYg_5_YEctCkCnlz2ub4QLlUKSek2Vw0Zv2QcaIVzriotHU0TxdcFR8PVbjnHoz2OfRSJxNhsd5c6jQ-dKb3Jfa0sjtYxOFn3uOpqJ30GgDhf5oixeMAtQHuTkExDHnFYOs9pEvyVF2qgdC5lzo5FHXPwZze7jCoKyUNrb1Nh6-SS83UbqIp7Z4Pcnoa8RsgX5-ihiticPSQiIyUt8paB2bc8RBsYaX5t1QYRlrUloOr3M.nQakVJ1MKvliOEj31SiVSw', 'token_type': 'bearer', 'expires_in': 3599}
1AccessTokenResponse
{
    "access_token": "l7o016wNVxeYp0DXs535",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "AqKHmMbeRf4vZefvPB8UiQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560834481,
        "iat": 1560831061,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "D6S5IVMsMyFaoiaS",
        "rt_hash": "akRjYb9kit-8cR_a4GzEgA",
        "sub": "testuser"
    },
    "refresh_token": "JumLpYa0lUPuWaFdKnFyWcfnzY4TadJkzVU0vnV3",
    "scope": "openid",
    "token_type": "bearer"
}
1jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
1jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
1phase<--<-- 4 --- Done -->-->
1end
1assertionVerifyResponse
1conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
1conditionDone: status=OK

Result

PASSED