Test Info

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

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_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": "T67COrdj1jN8Fpmw",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "Vyn6OTT1FmgBjLNf"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Vyn6OTT1FmgBjLNf&nonce=T67COrdj1jN8Fpmw&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Vyn6OTT1FmgBjLNf&nonce=T67COrdj1jN8Fpmw&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=LbpdBfmekVKB0ScHEyPS&state=Vyn6OTT1FmgBjLNf&expires_in=3599&token_type=bearer&code=lmWafeJ9GbszacaUsi9xMxZ8tQj8Rr&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlQ2N0NPcmRqMWpOOEZwbXciLCJpYXQiOjE1NjA3NTk3NTIsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJhVUc5VVMtYmdvQ1lScDJ6OUJ2Wi1RIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMxNzIsImNfaGFzaCI6IkhxeTI1OFR1aVJUcUU0REJwdkM0SEEiLCJhdWQiOiJjbGllbnRJRCJ9.NN24rVgLlWpymoSLlGe6rzBVST8VZFIbGMULIbWDNntPudYj0K08c-b6O7xMzUqN60tya9lvnF24iL2RaqimggSoanSVxjqVg3eg9OmtWJa1SEl60T4yaHg4nZImPkhJKrXqjm2X9fFGlsiTpR4L88dwAtaIrTImmTfNnlprqPrafwP9t7tRICDaTvRsft-Rq_M3Xy4mWVlMKwmHEQBHZl5WDZkvXQBb5B7wEG4MES3ARLoxj_05vKbxoSdDPCKcukgBI1vLoFX5mkjCgwHjZHu9RQ42byFcolhxK5gr0FmL5MnZRpNTkQFnMusgvRqGPIGHfPHENgxSzZdVeMVE-g
2response{'access_token': 'LbpdBfmekVKB0ScHEyPS', 'state': 'Vyn6OTT1FmgBjLNf', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'lmWafeJ9GbszacaUsi9xMxZ8tQj8Rr', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlQ2N0NPcmRqMWpOOEZwbXciLCJpYXQiOjE1NjA3NTk3NTIsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJhVUc5VVMtYmdvQ1lScDJ6OUJ2Wi1RIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMxNzIsImNfaGFzaCI6IkhxeTI1OFR1aVJUcUU0REJwdkM0SEEiLCJhdWQiOiJjbGllbnRJRCJ9.NN24rVgLlWpymoSLlGe6rzBVST8VZFIbGMULIbWDNntPudYj0K08c-b6O7xMzUqN60tya9lvnF24iL2RaqimggSoanSVxjqVg3eg9OmtWJa1SEl60T4yaHg4nZImPkhJKrXqjm2X9fFGlsiTpR4L88dwAtaIrTImmTfNnlprqPrafwP9t7tRICDaTvRsft-Rq_M3Xy4mWVlMKwmHEQBHZl5WDZkvXQBb5B7wEG4MES3ARLoxj_05vKbxoSdDPCKcukgBI1vLoFX5mkjCgwHjZHu9RQ42byFcolhxK5gr0FmL5MnZRpNTkQFnMusgvRqGPIGHfPHENgxSzZdVeMVE-g'}
2AuthorizationResponse
{
    "access_token": "LbpdBfmekVKB0ScHEyPS",
    "code": "lmWafeJ9GbszacaUsi9xMxZ8tQj8Rr",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "aUG9US-bgoCYRp2z9BvZ-Q",
        "aud": [
            "clientID"
        ],
        "c_hash": "Hqy258TuiRTqE4DBpvC4HA",
        "exp": 1560763172,
        "iat": 1560759752,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "T67COrdj1jN8Fpmw",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "Vyn6OTT1FmgBjLNf",
    "token_type": "bearer"
}
2phase<--<-- 3 --- AccessToken -->-->
2requestop_args: {'state': 'Vyn6OTT1FmgBjLNf', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'lmWafeJ9GbszacaUsi9xMxZ8tQj8Rr', 'state': 'Vyn6OTT1FmgBjLNf', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'Vyn6OTT1FmgBjLNf', 'authn_method': 'client_secret_post'}
2AccessTokenRequest
{
    "client_id": "clientID",
    "client_secret": "clientSecret",
    "code": "lmWafeJ9GbszacaUsi9xMxZ8tQj8Rr",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "state": "Vyn6OTT1FmgBjLNf"
}
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%3A61578%2Fauthz_cb&code=lmWafeJ9GbszacaUsi9xMxZ8tQj8Rr&state=Vyn6OTT1FmgBjLNf&client_id=clientID&client_secret=clientSecret
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'bvPzO3pv5BV7abDPBM2y', 'refresh_token': 'wYRlpnr8Q1aTZmEA8ukeTy297aNgfvEdCKpnijkp', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiSFFEYXVwTWVsVlVPRXl5X0gzQUxqZyIsIm5vbmNlIjoiVDY3Q09yZGoxak44RnBtdyIsImlhdCI6MTU2MDc1OTc1MywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Ik00aDcxcFFLT3FIY0hvRk00NWxLekEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzE3MywiYXVkIjoiY2xpZW50SUQifQ.nGGbb2gDWFKeQgia9kyzg9LXmuNhRO13vpstoS8WAAQv7-AkNybel2GiqOd62vGRLASVHZv8nzBDvR65UkJYo2Qmwutvb65vYc9cZjDqYMZW7QEB-Bk3ptc9zroNe8nBHTLLB4g4jfwzPUI5pYUVub9jDD3ygp5_11m5xG1uk_7uSjTL9RxLxi0rWUvni8J90grzhkYznjbvB1Q9sjXNy_u3hFfCAUbhptwZChgvGVGJ6VqUTHsjBdWAlq79Z8qlXNqhUSZgtWVb6qTOCB4zc5NvfOvkAmmPoAQ4-FxmczdQkW5RwSryhBDYqiziXqUfEOYQmQGSZgj3v7k95EGnYA', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "bvPzO3pv5BV7abDPBM2y",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "M4h71pQKOqHcHoFM45lKzA",
        "aud": [
            "clientID"
        ],
        "exp": 1560763173,
        "iat": 1560759753,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "T67COrdj1jN8Fpmw",
        "rt_hash": "HQDaupMelVUOEyy_H3ALjg",
        "sub": "testuser"
    },
    "refresh_token": "wYRlpnr8Q1aTZmEA8ukeTy297aNgfvEdCKpnijkp",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 4 --- Done -->-->
2end
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED