Test Info

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

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 --- Registration -->-->
0register
kwargs:{'response_types': ['code id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.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:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "response_types": [
        "code id_token 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": "J6l8cwOrLDzDKfelO24y",
    "client_id_issued_at": 1560755227,
    "client_secret": "adYts7n3bBmBdqn1FApp",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "registration_access_token": "eV92qWrwQyT8y5CQnsUS",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=J6l8cwOrLDzDKfelO24y",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "client_secret_post"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "J6l8cwOrLDzDKfelO24y",
    "nonce": "yYdlQadycy4ftcX8",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "CUSuEFLMk0Bq3fKT"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=CUSuEFLMk0Bq3fKT&nonce=yYdlQadycy4ftcX8&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=J6l8cwOrLDzDKfelO24y
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=CUSuEFLMk0Bq3fKT&nonce=yYdlQadycy4ftcX8&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=J6l8cwOrLDzDKfelO24y
2http args{}
2responseURL with fragment
2responseaccess_token=HXDWRtIwoNPBZTjJHuO2&state=CUSuEFLMk0Bq3fKT&expires_in=3599&token_type=bearer&code=ji7cis8GxE15IchP86Pa1Tg0qmv6I7&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6InlZZGxRYWR5Y3k0ZnRjWDgiLCJpYXQiOjE1NjA3NTUyMjgsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJqdkhtT3ByOEstS3MtZnQwRFRLN29nIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NDgsImNfaGFzaCI6Ijl3MXNkQ1VtVnUyRldYcWhobWRwMEEiLCJhdWQiOiJKNmw4Y3dPckxEekRLZmVsTzI0eSJ9.DrsEOxHtlzZz7gvoV0nmhA_Io5FZ7xMs1B7y_IdEoCtop2M7-Lw_NqqV253nZreSzqs--u6kdhuJdIKN1inmZy5sUh-suX8P4lzBG36VhAnX7u8Z7ywo7f-PJXBcIwNo1og3NbR4C6PAGrzgFmGW_beFJx1kVIZ7JFts5Y89aTsj9jYw-ccAt8Iu8emgI77ffyCQ3Irm5CahaA8yRDrVxrcRxHwvrZg-iQukY_D1j29qOXO3EkaLLMf8PDE89TAxQT3XAyUYA5IbH24OjpRALTwEeYZ6UvGATMDLzODfaRjar8r9M9E0iJuMq8NwYkI6wJjXn2sfRzbTgKhbv_qvpw
2response{'access_token': 'HXDWRtIwoNPBZTjJHuO2', 'state': 'CUSuEFLMk0Bq3fKT', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'ji7cis8GxE15IchP86Pa1Tg0qmv6I7', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6InlZZGxRYWR5Y3k0ZnRjWDgiLCJpYXQiOjE1NjA3NTUyMjgsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJqdkhtT3ByOEstS3MtZnQwRFRLN29nIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2NDgsImNfaGFzaCI6Ijl3MXNkQ1VtVnUyRldYcWhobWRwMEEiLCJhdWQiOiJKNmw4Y3dPckxEekRLZmVsTzI0eSJ9.DrsEOxHtlzZz7gvoV0nmhA_Io5FZ7xMs1B7y_IdEoCtop2M7-Lw_NqqV253nZreSzqs--u6kdhuJdIKN1inmZy5sUh-suX8P4lzBG36VhAnX7u8Z7ywo7f-PJXBcIwNo1og3NbR4C6PAGrzgFmGW_beFJx1kVIZ7JFts5Y89aTsj9jYw-ccAt8Iu8emgI77ffyCQ3Irm5CahaA8yRDrVxrcRxHwvrZg-iQukY_D1j29qOXO3EkaLLMf8PDE89TAxQT3XAyUYA5IbH24OjpRALTwEeYZ6UvGATMDLzODfaRjar8r9M9E0iJuMq8NwYkI6wJjXn2sfRzbTgKhbv_qvpw'}
2AuthorizationResponse
{
    "access_token": "HXDWRtIwoNPBZTjJHuO2",
    "code": "ji7cis8GxE15IchP86Pa1Tg0qmv6I7",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "jvHmOpr8K-Ks-ft0DTK7og",
        "aud": [
            "J6l8cwOrLDzDKfelO24y"
        ],
        "c_hash": "9w1sdCUmVu2FWXqhhmdp0A",
        "exp": 1560758648,
        "iat": 1560755228,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "yYdlQadycy4ftcX8",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "CUSuEFLMk0Bq3fKT",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'CUSuEFLMk0Bq3fKT', 'authn_method': 'client_secret_post'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': 'ji7cis8GxE15IchP86Pa1Tg0qmv6I7', 'state': 'CUSuEFLMk0Bq3fKT', 'grant_type': 'authorization_code', 'client_id': 'J6l8cwOrLDzDKfelO24y'}, 'state': 'CUSuEFLMk0Bq3fKT', 'authn_method': 'client_secret_post'}
2AccessTokenRequest
{
    "client_id": "J6l8cwOrLDzDKfelO24y",
    "client_secret": "adYts7n3bBmBdqn1FApp",
    "code": "ji7cis8GxE15IchP86Pa1Tg0qmv6I7",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "state": "CUSuEFLMk0Bq3fKT"
}
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%3A61367%2Fauthz_cb&code=ji7cis8GxE15IchP86Pa1Tg0qmv6I7&state=CUSuEFLMk0Bq3fKT&client_id=J6l8cwOrLDzDKfelO24y&client_secret=adYts7n3bBmBdqn1FApp
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'QVBzVrvdB2ZYAnZKSklb', 'refresh_token': 'sAHkVvVH12E6HfL2N86inZTnI3V2Bxkb9zGaE1A8', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiZDV0WXUwZHBnQW1GT19KX0VpNGFIdyIsIm5vbmNlIjoieVlkbFFhZHljeTRmdGNYOCIsImlhdCI6MTU2MDc1NTIyOSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImtYUFQ4ejh5VVpnV2VxdEpsOEhJREEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODY0OSwiYXVkIjoiSjZsOGN3T3JMRHpES2ZlbE8yNHkifQ.SjYRLqtS9-yXoz90A725KrCrGq80cqxfDeBa4dGtdMnlho2xv3dIao8TptN6Qzf-_NHMVJOfoKlRFNXvyHnIx9m7VhppNEsyjVLNSPRC4RnEZ3RL5--mzRKLyXDE82CYjaB6NHr6fzTPUavJlqUwUA7aASTW37vX6s4bdQMx3_S5wSebl57cWVkA4hHbUXa3Iog5Vau-WwjW-HRGJVuWLvgw-fXGqq-ZXSMaOjU5SIAeXNtKNi8FqIM9Y4C_c8uD1wrbbbfxOOmHTiFTA5eKBJ4hfuHSL3vylMiDe4PwKXzrvQOWW7GU5hwojKtOQszNXIBBXiAybsnfUMtTxU0adg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "QVBzVrvdB2ZYAnZKSklb",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "kXPT8z8yUZgWeqtJl8HIDA",
        "aud": [
            "J6l8cwOrLDzDKfelO24y"
        ],
        "exp": 1560758649,
        "iat": 1560755229,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "yYdlQadycy4ftcX8",
        "rt_hash": "d5tYu0dpgAmFO_J_Ei4aHw",
        "sub": "testuser"
    },
    "refresh_token": "sAHkVvVH12E6HfL2N86inZTnI3V2Bxkb9zGaE1A8",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
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