Test Info

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

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": [
        "RSA-OAEP-256"
    ],
    "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 -->-->
0register
kwargs:{'response_types': ['code id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61716/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61716/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61716/static/jwks_61716.json', 'token_endpoint_auth_method': 'client_secret_post'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61716/static/jwks_61716.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61716/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61716/authz_cb"
    ],
    "response_types": [
        "code id_token"
    ],
    "token_endpoint_auth_method": "client_secret_post"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "F38bliEGWuvqaem3zVHR",
    "client_id_issued_at": 1560784697,
    "client_secret": "gcLFrCaFBFUmRtfL93FL",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61716/static/jwks_61716.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61716/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61716/authz_cb"
    ],
    "registration_access_token": "mQZYURM21rsckkjB3uFu",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=F38bliEGWuvqaem3zVHR",
    "response_types": [
        "code",
        "id_token"
    ],
    "token_endpoint_auth_method": "client_secret_post"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "F38bliEGWuvqaem3zVHR",
    "nonce": "yBLumBb1g9FPTrAU",
    "redirect_uri": "https://op.certification.openid.net:61716/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "VqTs3qTPWy5Tcf0N"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=VqTs3qTPWy5Tcf0N&nonce=yBLumBb1g9FPTrAU&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61716%2Fauthz_cb&client_id=F38bliEGWuvqaem3zVHR
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=VqTs3qTPWy5Tcf0N&nonce=yBLumBb1g9FPTrAU&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61716%2Fauthz_cb&client_id=F38bliEGWuvqaem3zVHR
2http args{}
2responseURL with fragment
2responseid_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.ZIvDSPuiqrDNKux_8yAvV4SRm4qpnict0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Qzjms4plRiLt6MONxPca7-323yzQqgBf0t_VqsbuWbMOaNiLNUYZhlmYtw5DKr5dvHQxkeCZFatfIUfVPOFL-ZQw2kNbU3n_h7tve7XvptAXH_pgLg6Spb4SwATWhLnzEyoy850AZ7YmmrHNR145neWEBbYkX5kYzTXFwKNuENwwJNCWnZpNMesyUasCSKXD8yi8UAWq049Bwf1uejrBEpW6QyFIuU7qiNWZ25cYuLqlc5SmO1aKvdBTFpCIjfTGksxpHA8kkBNcWn3gkSm8XaM7-F8VzMJ4nr2CLcq1-SqHXQSD_6qyJi9co2zB18wQ_4-TQwC66-i8ZMZ20-AcpaeNapwu_JpiRVQbiZpu5XJvg39sTJll4JuP3IKrLitbsAy3aMMl9RgfP8fVR3Ya26zS9RXlX4eeTJ0y4lo7cmb1DTgNJkRZzIVBtEnQgKzpZXht7nyF_3dr3ZaO9UeQrKa_hbXXdphwy2LV51x0AomImrqRAGtY5vRvJBM9k5u6DyI__E-kdNi58Sty5XnUSzd2nkq5mekwxl1T75sKtugtmXfK5Js0fTevJYmAPWs2839N_O-rWk97OiH13muYdA05ZxQ.wL9cB0B8EOXLSuV6fz6HKQ', 'state': 'VqTs3qTPWy5Tcf0N', 'code': 'Q0BiFpl4vSsmRmyk5uWU6tkoj5jLBM'}
2AuthorizationResponse
{
    "code": "Q0BiFpl4vSsmRmyk5uWU6tkoj5jLBM",
    "id_token": {
        "aud": [
            "F38bliEGWuvqaem3zVHR"
        ],
        "c_hash": "XaiMXn4yRZ6P_qLr4bAzfw",
        "exp": 1560788117,
        "iat": 1560784697,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "yBLumBb1g9FPTrAU",
        "sub": "testuser"
    },
    "state": "VqTs3qTPWy5Tcf0N"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'VqTs3qTPWy5Tcf0N', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61716/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61716/authz_cb', 'code': 'Q0BiFpl4vSsmRmyk5uWU6tkoj5jLBM', 'state': 'VqTs3qTPWy5Tcf0N', 'grant_type': 'authorization_code', 'client_id': 'F38bliEGWuvqaem3zVHR'}, 'state': 'VqTs3qTPWy5Tcf0N', 'authn_method': 'client_secret_post'}
2AccessTokenRequest
{
    "client_id": "F38bliEGWuvqaem3zVHR",
    "client_secret": "gcLFrCaFBFUmRtfL93FL",
    "code": "Q0BiFpl4vSsmRmyk5uWU6tkoj5jLBM",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61716/authz_cb",
    "state": "VqTs3qTPWy5Tcf0N"
}
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%3A61716%2Fauthz_cb&code=Q0BiFpl4vSsmRmyk5uWU6tkoj5jLBM&state=VqTs3qTPWy5Tcf0N&client_id=F38bliEGWuvqaem3zVHR&client_secret=gcLFrCaFBFUmRtfL93FL
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': '0UkafSF4Bmv7F3GH84uD', 'refresh_token': 'N34DsIQjhMUDVDmBHynaUnP7yoUmJhBIJOQpB15X', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.CtOI_6VNCtklglYCLR1Ep-Fd-fPrpQtd0330fviQ5jf8u0yG98Yt5BkNq95lpKY2wamQxC3EREtx1bAb48DecqKPQurxMnrIWyMHt4S9KtlVHI6ODHiqfbgyKyXLa04YO28Ctyu5nOzCUly3iuku8Tnr-ad0ClatI2ZsLD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NklsFuFbvDqIV46IzoGqbRlyK7UyNOrIDP5D3lvHSz8cSkXzM0qsbVGcR6dCkgPHbnFVvMSK9XFse30aHL27RDNIYORBUZBZKoGyf11AE5bcezmcyJqgg.hyxmDRGnbsu2wTtiHpss8w', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "0UkafSF4Bmv7F3GH84uD",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "YLWZdt97gg3LVKC42_HMdw",
        "aud": [
            "F38bliEGWuvqaem3zVHR"
        ],
        "exp": 1560788119,
        "iat": 1560784699,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "yBLumBb1g9FPTrAU",
        "rt_hash": "TPa-X4tSkgDT4iEOUINAIg",
        "sub": "testuser"
    },
    "refresh_token": "N34DsIQjhMUDVDmBHynaUnP7yoUmJhBIJOQpB15X",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
3phase<--<-- 5 --- 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