Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-kid
Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Timestamp2019-06-17T15:43:07Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
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'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61583/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61583/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61583/static/jwks_61583.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "QRY0BI745NeBncveGICe",
    "client_id_issued_at": 1560786185,
    "client_secret": "bpnEhKi7o6f7wxkly8g9",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61583/static/jwks_61583.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61583/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61583/authz_cb"
    ],
    "registration_access_token": "Xmhyxi2G0NWuRmkOQ5m7",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=QRY0BI745NeBncveGICe",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "QRY0BI745NeBncveGICe",
    "nonce": "R6WtDwsdu8gkyvsb",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "9pSms21AVqyMKVRT"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=9pSms21AVqyMKVRT&nonce=R6WtDwsdu8gkyvsb&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=QRY0BI745NeBncveGICe
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=9pSms21AVqyMKVRT&nonce=R6WtDwsdu8gkyvsb&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61583%2Fauthz_cb&client_id=QRY0BI745NeBncveGICe
1responseResponse URL with query part
1response{'state': '9pSms21AVqyMKVRT', 'code': '6Je3Jy6C0xOktF3sTvoFvbSrBwZUdC'}
1response{'state': '9pSms21AVqyMKVRT', 'code': '6Je3Jy6C0xOktF3sTvoFvbSrBwZUdC'}
1AuthorizationResponse
{
    "code": "6Je3Jy6C0xOktF3sTvoFvbSrBwZUdC",
    "state": "9pSms21AVqyMKVRT"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': '9pSms21AVqyMKVRT'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61583/authz_cb', 'code': '6Je3Jy6C0xOktF3sTvoFvbSrBwZUdC', 'state': '9pSms21AVqyMKVRT', 'grant_type': 'authorization_code', 'client_id': 'QRY0BI745NeBncveGICe'}, 'state': '9pSms21AVqyMKVRT', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUVJZMEJJNzQ1TmVCbmN2ZUdJQ2UiLCAic3ViIjogIlFSWTBCSTc0NU5lQm5jdmVHSUNlIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ1TUhxd1hWUWlQZWhNaTBOdkpXaVZTelR6M2xTNGM5QyIsICJleHAiOiAxNTYwNzg2Nzg2LCAiaWF0IjogMTU2MDc4NjE4Nn0.bNfgwaE1KDcTF4kdxwvcYV-OGAb9DVH0OYbKUxZKPex8Y0vfwNLapPM5eqMckDFqjGWKt7iRLZU3F_8hOkQ-9_ZJExd-VkGA5-qu44d0WEFw055g0G8107NF18FpfaZxeEqJ0F1coAM9KpClb7G32wag4YDaShDIGKbB-i69NH2y0Yv3jQ7dEsDvDI9XcdMwl2LvPCINDciVuHt1NMF6pRZz7mNWmigl9pjhxkZfFDFA2pFXbKXVUD_0PJcrdx75NILGAKLyem_eYfIK5cnsDsxlQvJ_I1_vv8YHNZnQ90cINPV0WvYMXhpP_3we21SQmVf55quvrN6M-KYPmHu4sg",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "6Je3Jy6C0xOktF3sTvoFvbSrBwZUdC",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61583/authz_cb",
    "state": "9pSms21AVqyMKVRT"
}
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%3A61583%2Fauthz_cb&code=6Je3Jy6C0xOktF3sTvoFvbSrBwZUdC&state=9pSms21AVqyMKVRT&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUVJZMEJJNzQ1TmVCbmN2ZUdJQ2UiLCAic3ViIjogIlFSWTBCSTc0NU5lQm5jdmVHSUNlIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ1TUhxd1hWUWlQZWhNaTBOdkpXaVZTelR6M2xTNGM5QyIsICJleHAiOiAxNTYwNzg2Nzg2LCAiaWF0IjogMTU2MDc4NjE4Nn0.bNfgwaE1KDcTF4kdxwvcYV-OGAb9DVH0OYbKUxZKPex8Y0vfwNLapPM5eqMckDFqjGWKt7iRLZU3F_8hOkQ-9_ZJExd-VkGA5-qu44d0WEFw055g0G8107NF18FpfaZxeEqJ0F1coAM9KpClb7G32wag4YDaShDIGKbB-i69NH2y0Yv3jQ7dEsDvDI9XcdMwl2LvPCINDciVuHt1NMF6pRZz7mNWmigl9pjhxkZfFDFA2pFXbKXVUD_0PJcrdx75NILGAKLyem_eYfIK5cnsDsxlQvJ_I1_vv8YHNZnQ90cINPV0WvYMXhpP_3we21SQmVf55quvrN6M-KYPmHu4sg&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'ysrNrviIMij0JAznnK0H', 'refresh_token': 'j9t4l948OYtnRL4cJFkNzsCnsgypzB6Nzq6KkRrf', 'scope': 'openid', 'id_token': 'eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnlRUTh2a2Y4ZUZvMUtJaXQzcy0zQmJ3dyIsImN0eSI6IkpXVCJ9.kGWqxn90wsJjfVJw6VJJRdrYXtvc-C5fGu0H0OEY2mvzuElALDqw9WT4Mdg72zMe4M6tDYcgHuxz6NxsqHLMaeh-ULLXIfRbt7IYfqnRRKGKlE-CbucjEHGvq_ffbuATSk2q0VsqzEhINzi3sStvO_AIK7Xls3gQ87KgqMa32c9n4rcMyBuMaEmxLTaQwrCy2RPGtexRfLFa0p6TjQ5r18QFewUt4fFnbs0w2IvRTCmAqpTAlpjMmD3Mopej8vwMGroipeDXMrPT8k7_hKsUt3L_qFUcBZmSg4o2nfU62vZPdjqPqh44o4TUqIbSbPKcInk_hD-FEOq3-PJ4dE0-fA.MBOZLOoPs0NVkN9ch75JNw.GK1BGK4vooDzD6aeJmz6twQHH5UVhHrdmTo8Q2Jfzw_s5SqVNGCmwuzrsuZROvqr08TEZ123JArUWdf3HYSlEpPKV_3R1HKE0zp_50O9EVncasWnKXf9OGw2J7mLIZ2fq-8hqLeb2P44ClE_2tIkezPO-GzkQ32dM66R24sooUeO1QfKbEUe9gD9OUgORy2FNYOYvIGVyYa57oL1wjAUGowlh6QkH9P4CfgefW_F3btbGje2t8lmgeJYii9z7pN-BEvzCXiiySG9f_vLKLxHca22bQrpJCzA0QZQd4kIro0QLCXzERR_Box83QFjY8qszxfXHkWw5KrdvljG3Ju9QKg5FNuP_oTkaTnIlZax0oBH6fq_Rcxu1ViQ_hubBpMfi-uqtP0FV7OQ_QgPZocQuJTSgEaiP92HEzHv-YXB2UAWPsr3gHTRRe779I5rxnMz44kO2tNyB11NYWIwNJxsg9Yo3Z2X0KHOqPbYAcL5saZ7k14mZ5w5dQ7eGlcgXEPLAAmn0sKoK0hRP48lvpKJTjjnRxKvWAWP67x_uo3hoP8T2azWotGGK8QtcFBoMt0aI99A8DQtdOI_ieFDn8di2WLkmtVYTIa65SP7B4trf4ZtflNo7wC1iAY8YxJ2oY-IldUOCJsS0_suvHKYDO0s59s975n99Qpl5MlIIs-kZlI8truh0abFp8RgKfGJdAsFkjEQnHiJIZh8zj0lVhy5ddGKBV5MtBp7U6l-wNutzsLW3Ak-AnlDeoM6U7_q_WuL3wQwSq2_5GLJlaEWcj9XtMrnggDHk7rQOBoWMJtBnQ7uGxMtqlm55tK9xT1U_sE5hhnt6qfKzlR6DapKTmd9o0K14mHmejwHZJ7UdpiJ9uKAprCBdMPr2rj2qME1exlEGdeTeqpESuGEmlJLSV6yCfHeZQAxIVMvLJOLhuGlPO3zj5oHVOWsReYHevqo6TK1z6GYtRZp4Sq3bNCoAZ7R6A.0G0ImeOZkkfAsTZD6woUSQ', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "ysrNrviIMij0JAznnK0H",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "ErXbh57E3xOrp2k8OIbSog",
        "aud": [
            "QRY0BI745NeBncveGICe"
        ],
        "exp": 1560789607,
        "iat": 1560786187,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "R6WtDwsdu8gkyvsb",
        "rt_hash": "fYYTfJwAe-8tvXUaGaEBJw",
        "sub": "testuser"
    },
    "refresh_token": "j9t4l948OYtnRL4cJFkNzsCnsgypzB6Nzq6KkRrf",
    "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]
2assertionVerifySignedIdTokenHasKID
2conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
2conditionDone: status=OK

Result

PASSED