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:17:51Z

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": "rJQH0o9ubiaNGOwT",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "ywhvTSjPKTqMIvLW"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ywhvTSjPKTqMIvLW&nonce=rJQH0o9ubiaNGOwT&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=ywhvTSjPKTqMIvLW&nonce=rJQH0o9ubiaNGOwT&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
2http args{}
2responseURL with fragment
2responseid_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.tbbaKJBDGol350z1HHJuIAIsDFsxn7WKakos9SrLPWs0sdHCYDqwJA.0kHGjlWh__z9vpJuIpaEnA.wIiFEcIdJp6BtBXrVN6safx8psL0SznPWirCzTynOBaI_kOx9Cxo7n1gL_qdnWdRr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BtBXrVN6safx8psL0SznPWirCzTynOBaI_kOx9Cxo7n1gL_qdnWdRrLIiK-l18BZndD66KR1FYVxxxx0u8QhqCkfe_i3lSCDwfAMVK-OlPaCsKxE-3aCMeMZYjDDg2ZzObNoTnKOwMFsrZek7sf1KPN9ut8HR73g_3F_BhfLgjeTbRVMz6OTaNaxlCoRd7iFthOTLty4TsdNfT9-QifVf6Rt_06kqMZHEYYemGY_1KDtubE6r_4hBwSxkqBS-HD7QPRz2uWRdPgEZ73EFqIuYx4ZT4R8HRexmukQ-hMszcD8hBNeyiS-_VxvMwvDJgcIRvUW9yuYMEFyVfoAxjV1DljbpIn1NyHeWgfoKZa39XPZd1MNfh6Ss9VspzezLIoNgkpgUjmSuKKk1XnW4NnZOn2g_ix8rq65t8oBdriV47mhEMpYNVW2MGibfn4JnPSKOk3vUVkOvnwNbVMp1D26j7i383EsCpsrER8ch9w8Q5smUjQgYq5Eral9qWTAByGgB4LCET7yHdTa9NUcHQQRnXq7rZrOyFgIdYCMNuhqnicz9J1LvGLeq7UIXyCYgE5pbS7P0WHbi2zNSLPBBFuU6-_1DgNyldQ0J8va7eE6RG97G8BpRMGfecFyqPzCcKNEEk1k83ou-uJzUykl3AoyhlKtVRjnS9dNLQdpleoW0ANrCYSDD-v0dBCUy_nf7Yj6DRffNzzAzkRc3UcsjshNA2Rntl8gzsGVFsWcd1YAVSzPWgMkxwbc6aOj_xKxLNqg_NrTerb6K0mpoyhBZLvkPf9D9ahJxDU8_hNk8gyvFQVpT5OHH2FMUGvANeJSuvg8zIlEE2dcUmjK6tNQ4-0xgZYq1derK1k85Mq4e4slKql179M5I3r1l.qbftEquW2Kj7ZHlicnRq0g', 'state': 'ywhvTSjPKTqMIvLW', 'code': 'ec5its1gmrvQk7QpCOxDK5DUiyPSkB'}
3AuthorizationResponse
{
    "code": "ec5its1gmrvQk7QpCOxDK5DUiyPSkB",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "BFsN-DfttHCf-Xq0QOxJ4Q",
        "exp": 1560834889,
        "iat": 1560831469,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "rJQH0o9ubiaNGOwT",
        "sub": "testuser"
    },
    "state": "ywhvTSjPKTqMIvLW"
}
3phase<--<-- 3 --- AccessToken -->-->
3requestop_args: {'state': 'ywhvTSjPKTqMIvLW', 'authn_method': 'client_secret_basic'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'}
3do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': 'ec5its1gmrvQk7QpCOxDK5DUiyPSkB', 'state': 'ywhvTSjPKTqMIvLW', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'ywhvTSjPKTqMIvLW', 'authn_method': 'client_secret_basic'}
3AccessTokenRequest
{
    "code": "ec5its1gmrvQk7QpCOxDK5DUiyPSkB",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "state": "ywhvTSjPKTqMIvLW"
}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
3request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
3requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&code=ec5its1gmrvQk7QpCOxDK5DUiyPSkB&state=ywhvTSjPKTqMIvLW
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'Y3ARHO6pb1mz02c0Vz4i', 'refresh_token': 'ikeG1o7VkLU2PXHfzcHxgHEhRwcwrvgSn9X2VfYE', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.1WyyEY6nkbisnitgTzDEthliPSmHqmEjkdZCg5FWR_P9YsjH60ufhg.Uacv1HuH_XZ8Gt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599,
    "id_token": {
        "at_hash": "ayllWw8TJ5HXddPOiwenPQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560834891,
        "iat": 1560831471,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "rJQH0o9ubiaNGOwT",
        "rt_hash": "AYOd75ailBnkKJOH69CYbw",
        "sub": "testuser"
    },
    "refresh_token": "ikeG1o7VkLU2PXHfzcHxgHEhRwcwrvgSn9X2VfYE",
    "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