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:00:59Z

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_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": "auAl4OBVFrpdzvhf",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "aC215lbeN9NgtvZA"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=aC215lbeN9NgtvZA&nonce=auAl4OBVFrpdzvhf&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=aC215lbeN9NgtvZA&nonce=auAl4OBVFrpdzvhf&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID
1http args{}
1responseURL with fragment
1responseid_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6ImF1QWw0T0JWRnJwZHp2aGYiLCJpYXQiOjE1NjA3NTg0NTgsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyIiwiZXhwIjoxNTYwNzYxODc4LCJjX2hhc2giOiJCYkh2ekNad29IY0JTWnNrOUgxRmZnI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sPvw', 'state': 'aC215lbeN9NgtvZA', 'code': 'Ay9H0zeXVJk20d4KREoCQEM1KFPxoL'}
1AuthorizationResponse
{
    "code": "Ay9H0zeXVJk20d4KREoCQEM1KFPxoL",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "BbHvzCZwoHcBSZsk9H1Ffg",
        "exp": 1560761878,
        "iat": 1560758458,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "auAl4OBVFrpdzvhf",
        "sub": "testuser"
    },
    "state": "aC215lbeN9NgtvZA"
}
1phase<--<-- 3 --- AccessToken -->-->
1requestop_args: {'state': 'aC215lbeN9NgtvZA', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb', 'code': 'Ay9H0zeXVJk20d4KREoCQEM1KFPxoL', 'state': 'aC215lbeN9NgtvZA', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'aC215lbeN9NgtvZA', 'authn_method': 'client_secret_post'}
1AccessTokenRequest
{
    "client_id": "clientID",
    "client_secret": "clientSecret",
    "code": "Ay9H0zeXVJk20d4KREoCQEM1KFPxoL",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "state": "aC215lbeN9NgtvZA"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&code=Ay9H0zeXVJk20d4KREoCQEM1KFPxoL&state=aC215lbeN9NgtvZA&client_id=clientID&client_secret=clientSecret
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'PZVhTEVUw9XOgfmzpivf', 'refresh_token': 'Tky9GjaVgNphkMbsK1LeN2FR0zBaJAe83eb8t3ua', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiUUR4Qkc5ak96TlBzRF95M1U2RkxxQSIsIm5vbmNlIjoiYXVBbDRPQlZGcnBkenZoZiIsImlhdCI6MTU2MDc1ODQ1OSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkJmTkEwZnZWTGFzVkt1MkptU2QybkEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTg3OSwiYXVkIjoiY2xpZW50SUQifQ.1OPDYFkeljZVp4S8r3bgPaBnfRNQjOPLhjWeZdFpAv9h3JPeJ7JLYXlydpHq2vIx63Mr926m0l9BQTf-XRFX2-5pl7IDKcOXhmBwSGslUg9Mq3LPytZ9bqyZwhDyYeGPlLSRIMC4Q16EMswMUs3ZY5r9bKLq-4yKMyWm52cV70HRKgGNGPRluOlAt4KPPqYx7LfIREMc0UuNtprb7EjQ2XgRa_acrh14fLILUp27DZVqUGHJYHjpZFCBVz2QYUvVjlpvVz4gyJT4tX1N0tdAxBN2blF2CoRS3q3SVllsxP8Z526rbI_ArfgltZRaDI7FfsUF_neEGtNb0AzVtHxcLg', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "PZVhTEVUw9XOgfmzpivf",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "BfNA0fvVLasVKu2JmSd2nA",
        "aud": [
            "clientID"
        ],
        "exp": 1560761879,
        "iat": 1560758459,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "auAl4OBVFrpdzvhf",
        "rt_hash": "QDxBG9jOzNPsD_y3U6FLqA",
        "sub": "testuser"
    },
    "refresh_token": "Tky9GjaVgNphkMbsK1LeN2FR0zBaJAe83eb8t3ua",
    "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