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:09:37Z

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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61707/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61707/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61707/static/jwks_61707.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:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "response_types": [
        "code token"
    ],
    "token_endpoint_auth_method": "client_secret_post"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "waYmCckgCsxAD0DkHfbv",
    "client_id_issued_at": 1560784175,
    "client_secret": "ihlLmQg1de5UzWYwluRb",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61707/static/jwks_61707.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61707/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61707/authz_cb"
    ],
    "registration_access_token": "61YrQTfLftp2bAIhOfNM",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=waYmCckgCsxAD0DkHfbv",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "client_secret_post"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "waYmCckgCsxAD0DkHfbv",
    "nonce": "uBPuRyFpbMXSfPRP",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "AOxVJmNSRpFVhS09"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=AOxVJmNSRpFVhS09&nonce=uBPuRyFpbMXSfPRP&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=waYmCckgCsxAD0DkHfbv
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=AOxVJmNSRpFVhS09&nonce=uBPuRyFpbMXSfPRP&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=waYmCckgCsxAD0DkHfbv
1http args{}
1responseURL with fragment
1responseaccess_token=6d6nG7y7TFjjTdyKUsj4&state=AOxVJmNSRpFVhS09&expires_in=3599&token_type=bearer&code=WTuR96bdUZAM1r372fnx7KjKIqbRQS&scope=openid
1response{'access_token': '6d6nG7y7TFjjTdyKUsj4', 'state': 'AOxVJmNSRpFVhS09', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'WTuR96bdUZAM1r372fnx7KjKIqbRQS', 'scope': 'openid'}
1AuthorizationResponse
{
    "access_token": "6d6nG7y7TFjjTdyKUsj4",
    "code": "WTuR96bdUZAM1r372fnx7KjKIqbRQS",
    "expires_in": 3599,
    "scope": "openid",
    "state": "AOxVJmNSRpFVhS09",
    "token_type": "bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'AOxVJmNSRpFVhS09', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'WTuR96bdUZAM1r372fnx7KjKIqbRQS', 'state': 'AOxVJmNSRpFVhS09', 'grant_type': 'authorization_code', 'client_id': 'waYmCckgCsxAD0DkHfbv'}, 'state': 'AOxVJmNSRpFVhS09', 'authn_method': 'client_secret_post'}
1AccessTokenRequest
{
    "client_id": "waYmCckgCsxAD0DkHfbv",
    "client_secret": "ihlLmQg1de5UzWYwluRb",
    "code": "WTuR96bdUZAM1r372fnx7KjKIqbRQS",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "AOxVJmNSRpFVhS09"
}
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%3A61707%2Fauthz_cb&code=WTuR96bdUZAM1r372fnx7KjKIqbRQS&state=AOxVJmNSRpFVhS09&client_id=waYmCckgCsxAD0DkHfbv&client_secret=ihlLmQg1de5UzWYwluRb
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'HnlISGeCP4tqW3iksTvM', 'refresh_token': 'hC20v8XQ63apwxeI0WTAhyrWKOFzc9WEya9yH6Hr', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiL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qwcla0JleNnwMc_RFPzTKNn6J7u9rNFN8YcvxhMmBSDHZPxX2IGoxQqIfigrt6lFqBoZoiwfiaklIH_BODAA-a5HrI3tCultHiIWG_eK_owom9_98aDNxNSSv26KvKYe9xj8-7Belm-UeuqYMRTNc0bNiHlFrgoAJMlN2miwCYHcbWQKtrtDiW_TbhxETqI-DOxQbn-OFeRlzb7onuVfNx5e2NYfhGWUlk0OKunOnFXMnoutmKefXwJ6eetIaBi0FceOuEFfcqJz4xYNxsHGW6mffmCt8Zmeu7rHPW2_LPtAns4DIYEZMGj2WJEq8r5N3aAPTdY9QRxt8C03ST38cCSUUi3r9XSSrZL1kB4869wqT6T-GKRsmfAfXp16fgbyXtFHliwytv7TDA.cHPflg39PIUFw2zbQFwJYA', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "HnlISGeCP4tqW3iksTvM",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "OlGXvytv8cGvwnUMZ_iZuQ",
        "aud": [
            "waYmCckgCsxAD0DkHfbv"
        ],
        "exp": 1560787597,
        "iat": 1560784177,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "uBPuRyFpbMXSfPRP",
        "rt_hash": "K7Gny5m9B9y79-t7Ma_Elw",
        "sub": "testuser"
    },
    "refresh_token": "hC20v8XQ63apwxeI0WTAhyrWKOFzc9WEya9yH6Hr",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
2phase<--<-- 5 --- 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