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:14:26Z

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": "e0q2eBell6DTLG41",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "qdNL7BpTnpnQFPi4"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=qdNL7BpTnpnQFPi4&nonce=e0q2eBell6DTLG41&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=qdNL7BpTnpnQFPi4&nonce=e0q2eBell6DTLG41&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61773%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=j7BINuPdo7UJEK2iRCwW&state=qdNL7BpTnpnQFPi4&expires_in=3599&token_type=bearer&code=qVc3Yoi6oPzhSCUa2tDRmnpVjk9o1a&scope=openid&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.UEqoBAikJavXdRgD7yHeNmQDl3ZvkNCZSWGj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MeRJ6qkc2VOiIyeWV9dHYfJxMKzwOR75RF1RZXDvKwCl1MnNdv_eg7xifj2yEePDo__28c0dTjyJ-CFcYvS_dQDXQu5ZE_RHZ4zrUUGcEGEr6QrerfjenHjrWuexp84LcBPzZ5.pIm7XFWld21QW7nKUHkDfA'}
2AuthorizationResponse
{
    "access_token": "j7BINuPdo7UJEK2iRCwW",
    "code": "qVc3Yoi6oPzhSCUa2tDRmnpVjk9o1a",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "OZRH01qrY69gvSTULlBYsw",
        "aud": [
            "clientID"
        ],
        "c_hash": "PjGFQnG9l4mdMz4WfM2G-Q",
        "exp": 1560834684,
        "iat": 1560831264,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "e0q2eBell6DTLG41",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "qdNL7BpTnpnQFPi4",
    "token_type": "bearer"
}
2phase<--<-- 3 --- AccessToken -->-->
2requestop_args: {'state': 'qdNL7BpTnpnQFPi4', 'authn_method': 'client_secret_basic'}, 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': 'qVc3Yoi6oPzhSCUa2tDRmnpVjk9o1a', 'state': 'qdNL7BpTnpnQFPi4', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'qdNL7BpTnpnQFPi4', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "qVc3Yoi6oPzhSCUa2tDRmnpVjk9o1a",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61773/authz_cb",
    "state": "qdNL7BpTnpnQFPi4"
}
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=qVc3Yoi6oPzhSCUa2tDRmnpVjk9o1a&state=qdNL7BpTnpnQFPi4
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'jfuians8eiJWx1pDppi3', 'refresh_token': 'eUu833XjyHmlsrKcQyuyz30m6XpQseCcoFkjD3nz', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.fK5QMZiLK6xZG8vxbKrxwZA9Lm2bO6fGxJr4ecuIepfH3BOie_XDYg.fQydnXUw5xUnD7ZIOJ4_uA.0e_iHjAK01razX9ovg_2LZMIHY7_AAMiz5VwDlv1kruCyhcURLWBDk1KI-u4Qb2EEb5ManNQ6XkvF5fkm6sHtds274-GNDur0QQ2NexDoBG_tTw4bwgvllVyBEv_sKU9sss1O-rDPIeAsNdNZeWmxCP7qhUgt8lOJTXj6mZKum4B0Y6REbc98TT6Yb_MywENi-XqtaEpL5KLpPmcQ_H6NhK0SDuoq9CzldEF_KHCCb0dub6WJfxvBZxta3Ey8bh2USQhJITMyggtyAGmXeHmlgGWNoEENPGtBxpVdqv85Sv0isTP3Pt4WOQ18rO9Wv1QMRlW_dGda7GJY1qwTdU_NAnZj2iGks5sed9apO2l0oksyu-TgQPP87yUgdRN2gPTwiVJ5ShhVTWGk371RGSdpiaEPLUEa7gUqFQnLiPsspXJDIwkws-bcl8H4LY0Yag5R-DNINvTcGoWmZuglvkCw9N84wcHNuHUsFBbqZrfFE9YZ_cvFapFAela52y5Q9QL23AqPWvaQgD8PsRwqnkYIzPtL-ITFhwjDy-Dj7DQ1qm1806V2yPAJQCFbjfB9vtvrZvkoohfwcx0XSdpzCPgA11JElRYzHXyBgKzZBWDH7VNtUlGyUm_jUOyOVp3-9MD951lWWQq7Sz-8hm-c3y1WJIepBwfg15qR9X85NvsnIocJVRYhm65IsMVtOtuGO5NmnSqP0c4TdpfJ37335bWs_JT5v-n8k44Dk3kvGKbSkqtCp3HR-jHyRrAkjWsZT0gdQ4gdm7WA_fM5LIjwcuU23rQJT5ErSM-f_u1iVk0WiyjHJR7ocLPGrSZZfitHQKHaDgWO7mdvdk2c47gFntSZnklEeDu4ky9ZYRSUygUYwdFqcbA6yfOlKvj1x5oOuPV8nnsWsEbtUvyhcN1ApdDc_3my8ZOZhZBRIdT-1HTz79VagFiP0SkdIevaZcLXGeZ.a5U6ab7tIPwk4aUegtIq3A', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "jfuians8eiJWx1pDppi3",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "AKtmLj26FhE-MnTnwf2z3g",
        "aud": [
            "clientID"
        ],
        "exp": 1560834685,
        "iat": 1560831265,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "e0q2eBell6DTLG41",
        "rt_hash": "XLz3YPkKiKzBsu9R5_JNHA",
        "sub": "testuser"
    },
    "refresh_token": "eUu833XjyHmlsrKcQyuyz30m6XpQseCcoFkjD3nz",
    "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