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:11:05Z

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'}
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 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "nuLjAgFgEHOXVOtn",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "vfhZ8sYrfVkeHEZ6"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=vfhZ8sYrfVkeHEZ6&nonce=nuLjAgFgEHOXVOtn&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=vfhZ8sYrfVkeHEZ6&nonce=nuLjAgFgEHOXVOtn&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': 'vfhZ8sYrfVkeHEZ6', 'code': 'ySJxVx3zBExNykjjDYqfDNAv9QwS3Z'}
2response{'state': 'vfhZ8sYrfVkeHEZ6', 'code': 'ySJxVx3zBExNykjjDYqfDNAv9QwS3Z'}
2AuthorizationResponse
{
    "code": "ySJxVx3zBExNykjjDYqfDNAv9QwS3Z",
    "state": "vfhZ8sYrfVkeHEZ6"
}
2phase<--<-- 3 --- AccessToken -->-->
2requestop_args: {'state': 'vfhZ8sYrfVkeHEZ6', 'authn_method': 'client_secret_post'}, 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': 'ySJxVx3zBExNykjjDYqfDNAv9QwS3Z', 'state': 'vfhZ8sYrfVkeHEZ6', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'vfhZ8sYrfVkeHEZ6', 'authn_method': 'client_secret_post'}
2AccessTokenRequest
{
    "client_id": "clientID",
    "client_secret": "clientSecret",
    "code": "ySJxVx3zBExNykjjDYqfDNAv9QwS3Z",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "state": "vfhZ8sYrfVkeHEZ6"
}
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%3A61764%2Fauthz_cb&code=ySJxVx3zBExNykjjDYqfDNAv9QwS3Z&state=vfhZ8sYrfVkeHEZ6&client_id=clientID&client_secret=clientSecret
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'ovT7Mx12mwy1ccBfUums', 'refresh_token': 'YhFJ4hPs3cSLQmEzmJDnpTZcF3pB85FzcoamaBOv', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.hBLchYKVvKlIZnWYwmUCxZA0ZC8ddnfU884f3q9_bW0fSdCja73EXg.TKI4xPO62Y6DtyB9-YO2uA.ps63f1316IcDnJdNN8uo75UafELLEB-MYp-qqrHytCyr1llap3pFjOktT4Z-Q1eHOBtV77fvf-6drnYIFijDpL8gcwFigkLvBI5FzUxX2HCp9mnP0_Twh5Eh0zyxm6o3heMMq4pKmTyxc4WggvXu8LEekIg-OJnKBcqOrwyDcs6BRa5OyMkC5oxIC68Hk-3VhjHDGHZh8mkooM8EPzlAI4Tnzjb14RZex-C0u6mRdfVz6D3MLov6QAav-9eEMRRFdcq8GbB_pYo0beHQe150DqjCk4iK8sQEmvscOTk8vXLHJYFRKtUjbFzB1U2YgCs20KuVbMOq7hc4Ta10c3dO9dLqar7r2lzpWyeTCw6DAAtJN6udcYT7ja-gwLEULtlLIrX7ukaEUEudSahQMVzNQu3jTvYRFmjb6afBLi2Q6VPtAi1gYrhVhJrhs9SThru8gabSpU2Jv5OqhsmNBwdiItZ6dgW_QUFQF9BOV0eRYoDBE8aIqqI94iG4hT8_TOdSuGtmjtUXOLdFnIJQ8rq48NRQ8b1sGdSm94E7YaS1NSEQkeb-828h5AuEgvfoBf2LFi5CjqDYRsZcb30JT89YuzCQUSwT6inSXqhhfLEWpjhpQkT2ga2r6n7GvgkD7nyaLSgMujwnSgfxdCJV7b1Zp-2dbOlKuZsGlleoc5UG_F0KsuCFj9H0k5Q-aH1k0dv5bJ8hbK3hru9wG73tTBp2HmCQ5Mqzqxj2GNXAbHyxjMjqG2TDgDUIHHTAilXNWACcnQ2PpF1W51sBdue3D5keAhxE45ceqfh7wIr9QNgioXQvr4Sb_dVVjfvkeWyGYts1pZxwpgVMt7wMY5tLrcINd7iwX_S74yyako3umqO63Ml0rkdHBSEIknb3V6QZAX50eewkAqCvbnHop_n8IQpwmlWLSydXmePgipkPmisO6MwFIUok9xPTthcCPcT_rgDI.2Hs_Vu9DDvmPpZAHylSNyg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "ovT7Mx12mwy1ccBfUums",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "3YDHFoMagq0gfmfiwboACQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560834484,
        "iat": 1560831064,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "nuLjAgFgEHOXVOtn",
        "rt_hash": "OuvrI0R_ufz9MNitevKdYA",
        "sub": "testuser"
    },
    "refresh_token": "YhFJ4hPs3cSLQmEzmJDnpTZcF3pB85FzcoamaBOv",
    "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