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-17T08:22:18Z

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 -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "VdogHbrc6sFcHtOc",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "wxeWEAHDNzycqWmm"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=wxeWEAHDNzycqWmm&nonce=VdogHbrc6sFcHtOc&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=wxeWEAHDNzycqWmm&nonce=VdogHbrc6sFcHtOc&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
4http args{}
4responseURL with fragment
4responseaccess_token=V1hNIuhrojELLx2qJ4yB&state=wxeWEAHDNzycqWmm&expires_in=3599&token_type=bearer&code=fSvXbvY1VwcH0ZO6sw1EYOihyFdvd6&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlZkb2dIYnJjNnNGY0h0T2MiLCJpYXQiOjE1NjA3NTk3MzYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJjWWlUYlZpdzd0UTY3dEhocDlqTFFnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMxNTYsImNfaGFzaCI6Im5UajVNUE1sZEp3WDFzT2NjNG4xUXciLCJhdWQiOiJjbGllbnRJRCJ9.Fq_xALpiz1Ecsaj4dAHgzJ7H113t_Ato5TjtRUosrNPGALfxixqBxp8zb9XbEL6xet2lmAv1mfbj4DEG7PX0LOlFyTgPob8NZlZDnEkPH-AHOBKjIwjSlHj0iaMiKsEpi-g3c-ns6ubuTxzta4VGIGPj9WNrKwq6JxepDLBXPSuLJ0HRfkIE-7URnq24PAlPBAnobDA8xBc02kXxCbYUmfzscz96EmbyxMPBa7mXsSXwuiW5aKcZ8XhhNFJrrzW8ApgqSHt9dYWwNpwjlwOZuCW7HjmiYcxmSw2VGzoRAZhHyFYr78X4VbzBpyH9uE0sfTuSkhrAYNz7Jverfl7wGQ
4response{'access_token': 'V1hNIuhrojELLx2qJ4yB', 'state': 'wxeWEAHDNzycqWmm', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'fSvXbvY1VwcH0ZO6sw1EYOihyFdvd6', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlZkb2dIYnJjNnNGY0h0T2MiLCJpYXQiOjE1NjA3NTk3MzYsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJjWWlUYlZpdzd0UTY3dEhocDlqTFFnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMxNTYsImNfaGFzaCI6Im5UajVNUE1sZEp3WDFzT2NjNG4xUXciLCJhdWQiOiJjbGllbnRJRCJ9.Fq_xALpiz1Ecsaj4dAHgzJ7H113t_Ato5TjtRUosrNPGALfxixqBxp8zb9XbEL6xet2lmAv1mfbj4DEG7PX0LOlFyTgPob8NZlZDnEkPH-AHOBKjIwjSlHj0iaMiKsEpi-g3c-ns6ubuTxzta4VGIGPj9WNrKwq6JxepDLBXPSuLJ0HRfkIE-7URnq24PAlPBAnobDA8xBc02kXxCbYUmfzscz96EmbyxMPBa7mXsSXwuiW5aKcZ8XhhNFJrrzW8ApgqSHt9dYWwNpwjlwOZuCW7HjmiYcxmSw2VGzoRAZhHyFYr78X4VbzBpyH9uE0sfTuSkhrAYNz7Jverfl7wGQ'}
4AuthorizationResponse
{
    "access_token": "V1hNIuhrojELLx2qJ4yB",
    "code": "fSvXbvY1VwcH0ZO6sw1EYOihyFdvd6",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "cYiTbViw7tQ67tHhp9jLQg",
        "aud": [
            "clientID"
        ],
        "c_hash": "nTj5MPMldJwX1sOcc4n1Qw",
        "exp": 1560763156,
        "iat": 1560759736,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "VdogHbrc6sFcHtOc",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "wxeWEAHDNzycqWmm",
    "token_type": "bearer"
}
4phase<--<-- 4 --- AccessToken -->-->
4requestop_args: {'state': 'wxeWEAHDNzycqWmm'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'}
4do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'fSvXbvY1VwcH0ZO6sw1EYOihyFdvd6', 'state': 'wxeWEAHDNzycqWmm', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'wxeWEAHDNzycqWmm', 'authn_method': 'client_secret_basic'}
4AccessTokenRequest
{
    "code": "fSvXbvY1VwcH0ZO6sw1EYOihyFdvd6",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "state": "wxeWEAHDNzycqWmm"
}
4request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
4request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
4requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&code=fSvXbvY1VwcH0ZO6sw1EYOihyFdvd6&state=wxeWEAHDNzycqWmm
5http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
5response{'access_token': '11ZlWaF9uNPDGinS3Mab', 'refresh_token': 'IPs3EkqMPIvaNbmEWOZa1AA6ITjSwroDXJaWH1hv', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiMFBVZUFReXRjcVViSkJaY1hyeWhDUSIsIm5vbmNlIjoiVmRvZ0hicmM2c0ZjSHRPYyIsImlhdCI6MTU2MDc1OTczNywiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Im9BU3FGNmVQVTg4eHp6UmtIdEstdFEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzE1NywiYXVkIjoiY2xpZW50SUQifQ.OHmruczzxqWo4kVMqHReWq7kCfPJBE5UYkyFVqvIAwO0DXtE9GwiefUlaWEkdrXlsMISHFXDNOvACAMAdf38R84eiT4VEtuKVOdpX0pJTW9UQ2oUj1r1zQPfAMMGP7fO1Qd_RcXhskmSqpGU-wqiR428QKZH5l1BYsG8wbhAc_4ye-GwowAeKf2yiIl2Gwor8E6xSYOkVra62GKlechkMvoH4W0Jiud3E78BNUijScFDgxBumK_lN9jMWPG2QlHiwvTREoQH2vslIF2GL66qBv46KawBLkfcII-LRYDiZtkeV5ElGInf6dlkM990_0QAQ-W2401-0iiaROWOyExMrQ', 'token_type': 'bearer', 'expires_in': 3599}
5AccessTokenResponse
{
    "access_token": "11ZlWaF9uNPDGinS3Mab",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "oASqF6ePU88xzzRkHtK-tQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560763157,
        "iat": 1560759737,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "VdogHbrc6sFcHtOc",
        "rt_hash": "0PUeAQytcqUbJBZcXryhCQ",
        "sub": "testuser"
    },
    "refresh_token": "IPs3EkqMPIvaNbmEWOZa1AA6ITjSwroDXJaWH1hv",
    "scope": "openid",
    "token_type": "bearer"
}
5jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
5phase<--<-- 5 --- Done -->-->
5end
5assertionVerifyResponse
5conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
5assertionIsIDTokenSigned
5conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
5conditionDone: status=OK

Result

PASSED