Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-sig-any
Test descriptionRP registers userinfo_signed_response_alg to signal that it wants signed UserInfo returned
Timestamp2019-06-17T15:10:01Z

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': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
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": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "7Q5JteXucjXUjjrcWybw",
    "client_id_issued_at": 1560784197,
    "client_secret": "JqBH0b3NTPbSPEnp7NCZ",
    "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": "cyrMz9m6swpJiILHIx0a",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=7Q5JteXucjXUjjrcWybw",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "7Q5JteXucjXUjjrcWybw",
    "nonce": "MgxzVvIH1DUo66S3",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "K0Tu1Vyb2seKKHP0"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=K0Tu1Vyb2seKKHP0&nonce=MgxzVvIH1DUo66S3&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=7Q5JteXucjXUjjrcWybw
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=K0Tu1Vyb2seKKHP0&nonce=MgxzVvIH1DUo66S3&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61707%2Fauthz_cb&client_id=7Q5JteXucjXUjjrcWybw
1http args{}
2responseURL with fragment
2responseaccess_token=TVLh3Vu39m7BBN7PdCSx&state=K0Tu1Vyb2seKKHP0&expires_in=3599&token_type=bearer&code=yixkzIc58TDIaQ3uLqMlVmfcFyYy8c&scope=openid
2response{'access_token': 'TVLh3Vu39m7BBN7PdCSx', 'state': 'K0Tu1Vyb2seKKHP0', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'yixkzIc58TDIaQ3uLqMlVmfcFyYy8c', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "TVLh3Vu39m7BBN7PdCSx",
    "code": "yixkzIc58TDIaQ3uLqMlVmfcFyYy8c",
    "expires_in": 3599,
    "scope": "openid",
    "state": "K0Tu1Vyb2seKKHP0",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'K0Tu1Vyb2seKKHP0'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61707/authz_cb', 'code': 'yixkzIc58TDIaQ3uLqMlVmfcFyYy8c', 'state': 'K0Tu1Vyb2seKKHP0', 'grant_type': 'authorization_code', 'client_id': '7Q5JteXucjXUjjrcWybw'}, 'state': 'K0Tu1Vyb2seKKHP0', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiN1E1SnRlWHVjalhVampyY1d5YnciLCAic3ViIjogIjdRNUp0ZVh1Y2pYVWpqcmNXeWJ3IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJuQVBzWjUxem5YR2g4TUZtc29ZcmlzRHZxVGQyRVVRNCIsICJleHAiOiAxNTYwNzg0Nzk5LCAiaWF0IjogMTU2MDc4NDE5OX0.bJYo5r64FQLs8065JBcrUcyBNFXr5GzxRUg7dYpnr_sWEz_k2jOgsc8x8r5A5AlxK3BfnKwG1qIYEtj7BHYLYFooB1srfXH52lSZoU94eROMmMeD85mdt_garoHWS3RX_qtYu8aGuSJB_vFxhWQ5HZef5h5QTDUmEV-riqXnsT0uQCzElF86cYdox00xpg7CYaZ5sjajxHEEnL9nmS7U-gRNHeRf3NGYnWcYSJYGtaFyuQXKmc8279LaxjrlorIZ16WnPIE9LF3_fKviIPbF14cEjq3b2U_R7js1SusLM9a2GA5bABm0JyQj-Tzq4g4SqF3gxzubSftFqy2XtZmj8w",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "yixkzIc58TDIaQ3uLqMlVmfcFyYy8c",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61707/authz_cb",
    "state": "K0Tu1Vyb2seKKHP0"
}
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%3A61707%2Fauthz_cb&code=yixkzIc58TDIaQ3uLqMlVmfcFyYy8c&state=K0Tu1Vyb2seKKHP0&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiN1E1SnRlWHVjalhVampyY1d5YnciLCAic3ViIjogIjdRNUp0ZVh1Y2pYVWpqcmNXeWJ3IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJuQVBzWjUxem5YR2g4TUZtc29ZcmlzRHZxVGQyRVVRNCIsICJleHAiOiAxNTYwNzg0Nzk5LCAiaWF0IjogMTU2MDc4NDE5OX0.bJYo5r64FQLs8065JBcrUcyBNFXr5GzxRUg7dYpnr_sWEz_k2jOgsc8x8r5A5AlxK3BfnKwG1qIYEtj7BHYLYFooB1srfXH52lSZoU94eROMmMeD85mdt_garoHWS3RX_qtYu8aGuSJB_vFxhWQ5HZef5h5QTDUmEV-riqXnsT0uQCzElF86cYdox00xpg7CYaZ5sjajxHEEnL9nmS7U-gRNHeRf3NGYnWcYSJYGtaFyuQXKmc8279LaxjrlorIZ16WnPIE9LF3_fKviIPbF14cEjq3b2U_R7js1SusLM9a2GA5bABm0JyQj-Tzq4g4SqF3gxzubSftFqy2XtZmj8w&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'r54p5jE0yhA7hvGQ1Hff', 'refresh_token': 'EtDR8v1Z9BeTrpDIR4v9Xs81y9xLpqB1uiIfOFDv', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.WwzXjZfD0niHp4fZRMxlwJ4XgAwhkah87KGhwkN12JQON_ksLT2MDZ1DDJ83uGv0Li6rzZ_FXp3_d5ePGPOQ4QDYqLTRmF-2NvK_Ta2wp4LSrt_9DlPDDmWmPoM2Hnp9ha_jE0d5s_ezzwZ6BhgEQQdZbMw6TFvz9AyQbEmWoT_Zj8i83Ldt_PTlolNPHZVMYbf8hdFNV9s3E572zyDdhZ9tyAcxBN2KkFRI9vPCC9BblOwl4KlWv9EGD8GC6eIZx5JkAW_TkZGDKe3o2k8bqldGx4ExNbeU0LlQ3UthTup5rXtjmPXea0I7fJy1QzAqjq9IGjEJ9XI6wR3tQeH0kw.HJ_TDyWDNtcBnCNMJRvBNg.2G4Qou4B3omhHg2nFpC67proNk7MlT4NkWjwzS1399AAfr0Fu8jXtRx5tIWQIqeozRKYoH54tzsFuSqGYNI2YQUbDJaxeWgaLmA7d1Xn0JaG0UBKDbrVFYqq91bweyzwXbL1RdE4qhV9QK1ws0Y2imtf03jskuAYFFMLP3iYqqYdG-6ARfciR_tM-u5TtfpCIRKyW8im5YtG-pGG35GsqBbFG6kpn-kxw-zfSzAK688Pip10Y9rKqbiN4t2Jwta0Ck4y8MW62VqVDdS3-BrjXassbIno2QpqGojQyESKhXuxKcekvd87H_r3P6MBRbn7NZklJDcHVCXdGkAMpTemUYGybX8tKFRLBg8G7lajx5VzGz3IlTyWx2lPPQej5xrN82-G8a_Xs5M8LZAI1vIEHV-WP_J6GbcE7Z1Tu7LSEvLotVi9Gq1b8GHB5a9-KNk02zXRk60ux9sIdkgFAJKc9TGyx1WqLbgd2uHGrT7NJnX9z0IsLyJkU_mqPfJlWjU_jZZENJXJ9VDMhwzaDU_ad5nbY39fgNdkf-jsvrUGISSN92yU6IjkZaNVRZJO0lP-cgX2lkigPw3rBPsPYahjbS_j-hKmg-cm8tyY31VHtwamfNuEOKn3ZRjkmI5hj0r0l1Rz9kxzIFEqipH5wqC0TA7Sce3FMYYM3YM-biazK56CP_dVoSIMW9OJjIyauV0qQ2lphblC55EZl8Ijk6vdHB06rBadx5AtdSV26wLPxhzSzBRR0_AZVexlwqCc1chrR7jg_Q-YvM1ZK40BYcYkcKtlnF8Vb52h856t0hy0uKBtZG5rJvhGjXEpRb27tCsLhznahNzjJMqVvFP6CedLaCQaOI8bmwQXELiWWOuB8Xa-E4XawNOe03VV17gwoKzHTDBpupoIaxp0Hp5VJDqcMa0pSLifURQZD6MrLli-fQgC31-MokG2EKuMIT5-tvjWOGTD8y4nKJAZ3t8OKwJGBw.XpG721GQV7mlhtorFTAcgQ', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "r54p5jE0yhA7hvGQ1Hff",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "V0rPiIBX5XX60M-E5sRbUQ",
        "aud": [
            "7Q5JteXucjXUjjrcWybw"
        ],
        "exp": 1560787619,
        "iat": 1560784199,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "MgxzVvIH1DUo66S3",
        "rt_hash": "5vsqAzUMWjxFlXQ0KaVm8w",
        "sub": "testuser"
    },
    "refresh_token": "EtDR8v1Z9BeTrpDIR4v9Xs81y9xLpqB1uiIfOFDv",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'K0Tu1Vyb2seKKHP0', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
3request{'body': None}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer r54p5jE0yhA7hvGQ1Hff'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "aud": "7Q5JteXucjXUjjrcWybw",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4OpenIDSchema
{
    "aud": "7Q5JteXucjXUjjrcWybw",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
4jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
4phase<--<-- 6 --- Done -->-->
4end
4assertionVerifyResponse
4conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
4conditionDone: status=OK

Result

PASSED