Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-C-Signature
Test descriptionDoes the OP sign the ID Token and with what
Timestamp2019-06-17T07:06:47Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
is-idtoken-signed: status=OK [Checks if the id_token is signed]
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': 'private_key_jwt'}
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": "private_key_jwt"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "x15u4pOzJxwKftvmBhO6",
    "client_id_issued_at": 1560755205,
    "client_secret": "c8MqBb7fbjF0MgnV46uI",
    "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": "no4Jcy8B5RFcP7Du5TFj",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=x15u4pOzJxwKftvmBhO6",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "x15u4pOzJxwKftvmBhO6",
    "nonce": "Hr68OnfcI0lody9L",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "pOCC02NIVHoluG0r"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=pOCC02NIVHoluG0r&nonce=Hr68OnfcI0lody9L&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=x15u4pOzJxwKftvmBhO6
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=pOCC02NIVHoluG0r&nonce=Hr68OnfcI0lody9L&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=x15u4pOzJxwKftvmBhO6
1http args{}
2responseURL with fragment
2responseaccess_token=ghwYhGRg9afvliNXH1ST&state=pOCC02NIVHoluG0r&expires_in=3599&token_type=bearer&code=n9ECahHtSGFg5o9Ak1Fn9oHAgQRtwu&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IkhyNjhPbmZjSTBsb2R5OUwiLCJpYXQiOjE1NjA3NTUyMDYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJkaldLSWlpVlFodEg4V3Nad0JpN0RnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2MjYsImNfaGFzaCI6Im93VTY2SVJ3R2tnQjRaRGRDN1loaGciLCJhdWQiOiJ4MTV1NHBPekp4d0tmdHZtQmhPNiJ9.VmsG3OxfJQgwUElxjn8EKOdVOkWENshhNdvExxIBElaZtdPZfNt1eGnx-OtRjRgZ1zcl2tYT1Kk3uJl9z5CMxzmloanFxihU6r8BYqYOEs88J_qrWLt9USVmCrRN0SlpBPOttzPX93r9a6N3fPCpDK2kVDDl3oe26kg0sZYOEaAckIDu7PLhxHDcbLB_qXqm05SawznzNXyQtEggbi-SzFcPffG2-OSYkEQzavZUDWwN4FfNKlwx9RAP-2NYXMAtFjvuHLelLVFo9BhVwpufahOFwlQR2LiVL-qxK-l_fzkEnY4EoFqZW-b2uhZUy1RtBFEOVwn4CC9xvtr7BJJWQA
2response{'access_token': 'ghwYhGRg9afvliNXH1ST', 'state': 'pOCC02NIVHoluG0r', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'n9ECahHtSGFg5o9Ak1Fn9oHAgQRtwu', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IkhyNjhPbmZjSTBsb2R5OUwiLCJpYXQiOjE1NjA3NTUyMDYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJkaldLSWlpVlFodEg4V3Nad0JpN0RnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2MjYsImNfaGFzaCI6Im93VTY2SVJ3R2tnQjRaRGRDN1loaGciLCJhdWQiOiJ4MTV1NHBPekp4d0tmdHZtQmhPNiJ9.VmsG3OxfJQgwUElxjn8EKOdVOkWENshhNdvExxIBElaZtdPZfNt1eGnx-OtRjRgZ1zcl2tYT1Kk3uJl9z5CMxzmloanFxihU6r8BYqYOEs88J_qrWLt9USVmCrRN0SlpBPOttzPX93r9a6N3fPCpDK2kVDDl3oe26kg0sZYOEaAckIDu7PLhxHDcbLB_qXqm05SawznzNXyQtEggbi-SzFcPffG2-OSYkEQzavZUDWwN4FfNKlwx9RAP-2NYXMAtFjvuHLelLVFo9BhVwpufahOFwlQR2LiVL-qxK-l_fzkEnY4EoFqZW-b2uhZUy1RtBFEOVwn4CC9xvtr7BJJWQA'}
2AuthorizationResponse
{
    "access_token": "ghwYhGRg9afvliNXH1ST",
    "code": "n9ECahHtSGFg5o9Ak1Fn9oHAgQRtwu",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "djWKIiiVQhtH8WsZwBi7Dg",
        "aud": [
            "x15u4pOzJxwKftvmBhO6"
        ],
        "c_hash": "owU66IRwGkgB4ZDdC7Yhhg",
        "exp": 1560758626,
        "iat": 1560755206,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Hr68OnfcI0lody9L",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "pOCC02NIVHoluG0r",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'pOCC02NIVHoluG0r'}, 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': 'n9ECahHtSGFg5o9Ak1Fn9oHAgQRtwu', 'state': 'pOCC02NIVHoluG0r', 'grant_type': 'authorization_code', 'client_id': 'x15u4pOzJxwKftvmBhO6'}, 'state': 'pOCC02NIVHoluG0r', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAieDE1dTRwT3pKeHdLZnR2bUJoTzYiLCAic3ViIjogIngxNXU0cE96Snh3S2Z0dm1CaE82IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJMaXJJQWoyc0pTNG5OOHdFdnF5eU9mMEhhY3pnUzhHMyIsICJleHAiOiAxNTYwNzU1ODA3LCAiaWF0IjogMTU2MDc1NTIwN30.UNc2dJi5fadu_0UiGKK76t7eNOY_5n59kbfkaasErg1SX2mgtIEr0Rz1dprCAnI2HNxWN-Sxbdnc6zpGqWIIQOqBGR-V75XfGaEs5ux9wIFOBQxs2LjR6_h9TzGJOPqkL9QPRkOhL6t24P5NtbYOBSKachZj7QP1JfFwND2Ja2rex1E8N8cWMw7aY7curIn9pDmeL1LGO8DTEbQGqFApkIwb47V86s477Cml-8HXR3LsibCke1ICQjAJJ0ugW_AVWuTsfmF2NymPvkCct3Kwvf0PsiPyzOUybiVbaFCo_ZBBxWe4wPyCI4UpTEj_hTZI6l9XcFIDZUAWtiH_AXmgwA",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "n9ECahHtSGFg5o9Ak1Fn9oHAgQRtwu",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "state": "pOCC02NIVHoluG0r"
}
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=n9ECahHtSGFg5o9Ak1Fn9oHAgQRtwu&state=pOCC02NIVHoluG0r&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAieDE1dTRwT3pKeHdLZnR2bUJoTzYiLCAic3ViIjogIngxNXU0cE96Snh3S2Z0dm1CaE82IiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJMaXJJQWoyc0pTNG5OOHdFdnF5eU9mMEhhY3pnUzhHMyIsICJleHAiOiAxNTYwNzU1ODA3LCAiaWF0IjogMTU2MDc1NTIwN30.UNc2dJi5fadu_0UiGKK76t7eNOY_5n59kbfkaasErg1SX2mgtIEr0Rz1dprCAnI2HNxWN-Sxbdnc6zpGqWIIQOqBGR-V75XfGaEs5ux9wIFOBQxs2LjR6_h9TzGJOPqkL9QPRkOhL6t24P5NtbYOBSKachZj7QP1JfFwND2Ja2rex1E8N8cWMw7aY7curIn9pDmeL1LGO8DTEbQGqFApkIwb47V86s477Cml-8HXR3LsibCke1ICQjAJJ0ugW_AVWuTsfmF2NymPvkCct3Kwvf0PsiPyzOUybiVbaFCo_ZBBxWe4wPyCI4UpTEj_hTZI6l9XcFIDZUAWtiH_AXmgwA&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': 'OWeO1B1CTBGmAQFQ1u3s', 'refresh_token': 'YKL1lsMXReUievyO3WJRNEk3YlVlWXt5eqKDZGRn', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoia01kRkxZYjROQ0FRakcxYlY4dVRQQSIsIm5vbmNlIjoiSHI2OE9uZmNJMGxvZHk5TCIsImlhdCI6MTU2MDc1NTIwNywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InJtMGVVWWFEVHZPNTAwVGRTNWVxaWciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODYyNywiYXVkIjoieDE1dTRwT3pKeHdLZnR2bUJoTzYifQ.puVh7b8khexH9h3tgsg8bWZgx7W9CbhLsC_P2i3QFrlg6Bs2Ehis3On14aMnHq5VlnH3nC6scT7Eaws53ez-lOMpRPh-qfD1r9cB5km8Sn9D9Qpt0RMR2M5WQJ06rXeiAz_3U9qcKkw0YSr93fpPFwlTyKqmBnUNhY-mfpl07v6uCyzaO44qrTC2giCTqV318fhjqkSlS_yIrOQrnGQrJcXlJDKo3ZzKxj5ANntT80HY_4H4MyU-txke8QqB43vOa7fMPKzKrV9FwRGvzhTPnw_akx77sFMN3P9wynahHldj9ERN9X1DjY5ZNJbELtlzsg3jUGf1gH66d6TmHEVpaA', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "OWeO1B1CTBGmAQFQ1u3s",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "rm0eUYaDTvO500TdS5eqig",
        "aud": [
            "x15u4pOzJxwKftvmBhO6"
        ],
        "exp": 1560758627,
        "iat": 1560755207,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Hr68OnfcI0lody9L",
        "rt_hash": "kMdFLYb4NCAQjG1bV8uTPA",
        "sub": "testuser"
    },
    "refresh_token": "YKL1lsMXReUievyO3WJRNEk3YlVlWXt5eqKDZGRn",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 5 --- Done -->-->
2end
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2assertionIsIDTokenSigned
2conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
2conditionDone: status=OK

Result

PASSED