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:02:09Z

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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61240/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61240/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61240/static/jwks_61240.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/authz_cb"
    ],
    "response_types": [
        "code token"
    ],
    "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": "mCsgdl9KeIRAXmhjcg7k",
    "client_id_issued_at": 1560754927,
    "client_secret": "7iHa2FMqfIxIev5ihK0Q",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/authz_cb"
    ],
    "registration_access_token": "RgK5MGp7q6nJsvH8ohqV",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=mCsgdl9KeIRAXmhjcg7k",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "mCsgdl9KeIRAXmhjcg7k",
    "nonce": "I1mDsHld6mcDdnds",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "8LN3EtXeUHyl5gwo"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=8LN3EtXeUHyl5gwo&nonce=I1mDsHld6mcDdnds&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=mCsgdl9KeIRAXmhjcg7k
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=8LN3EtXeUHyl5gwo&nonce=I1mDsHld6mcDdnds&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&client_id=mCsgdl9KeIRAXmhjcg7k
2http args{}
2responseURL with fragment
2responseaccess_token=InW6e48V5ad1NXHM07LL&state=8LN3EtXeUHyl5gwo&expires_in=3599&token_type=bearer&code=aXcbAWP2QksyVNzHWmLRkq3AahcDgH&scope=openid
2response{'access_token': 'InW6e48V5ad1NXHM07LL', 'state': '8LN3EtXeUHyl5gwo', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'aXcbAWP2QksyVNzHWmLRkq3AahcDgH', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "InW6e48V5ad1NXHM07LL",
    "code": "aXcbAWP2QksyVNzHWmLRkq3AahcDgH",
    "expires_in": 3599,
    "scope": "openid",
    "state": "8LN3EtXeUHyl5gwo",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': '8LN3EtXeUHyl5gwo'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': 'aXcbAWP2QksyVNzHWmLRkq3AahcDgH', 'state': '8LN3EtXeUHyl5gwo', 'grant_type': 'authorization_code', 'client_id': 'mCsgdl9KeIRAXmhjcg7k'}, 'state': '8LN3EtXeUHyl5gwo', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAibUNzZ2RsOUtlSVJBWG1oamNnN2siLCAic3ViIjogIm1Dc2dkbDlLZUlSQVhtaGpjZzdrIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJQNFp5Q2EwMFVKZjA1cXJYZjBIM0JrRHphSHhOdzRUVCIsICJleHAiOiAxNTYwNzU1NTI4LCAiaWF0IjogMTU2MDc1NDkyOH0.0Y2YEei23-95LTwFLRbYv8XSRQlPK0J9r7J4vTO88-U9szeLHiY2TMOeToQslbcADoF11LAxaDZ-82lQwlA3X_kUiZZa8ylwDoRL77n2zN7i4aWiBc5eu2nGgJ80N34J2eKQoDRtJl6EObKZsYAHg3yexfu_QOhRVVh7ydt9r9wAf2W17zO0dS6p95-zJ6T_4HfkJ8S2A0j35e7pDFf1A2yIr6TbVJPrjH8yYQNCTD7dknuDj-zeH47l7z65z_Y7LHq7k8Bm3hk5c6bPhmNeJq9QFM0Dd73oECXurIfsr1Ru8D4zs_lnv52wzb87nALb9V8uqJlOPJ5WfMmSHDRSbQ",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "aXcbAWP2QksyVNzHWmLRkq3AahcDgH",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "state": "8LN3EtXeUHyl5gwo"
}
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%3A61240%2Fauthz_cb&code=aXcbAWP2QksyVNzHWmLRkq3AahcDgH&state=8LN3EtXeUHyl5gwo&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAibUNzZ2RsOUtlSVJBWG1oamNnN2siLCAic3ViIjogIm1Dc2dkbDlLZUlSQVhtaGpjZzdrIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJQNFp5Q2EwMFVKZjA1cXJYZjBIM0JrRHphSHhOdzRUVCIsICJleHAiOiAxNTYwNzU1NTI4LCAiaWF0IjogMTU2MDc1NDkyOH0.0Y2YEei23-95LTwFLRbYv8XSRQlPK0J9r7J4vTO88-U9szeLHiY2TMOeToQslbcADoF11LAxaDZ-82lQwlA3X_kUiZZa8ylwDoRL77n2zN7i4aWiBc5eu2nGgJ80N34J2eKQoDRtJl6EObKZsYAHg3yexfu_QOhRVVh7ydt9r9wAf2W17zO0dS6p95-zJ6T_4HfkJ8S2A0j35e7pDFf1A2yIr6TbVJPrjH8yYQNCTD7dknuDj-zeH47l7z65z_Y7LHq7k8Bm3hk5c6bPhmNeJq9QFM0Dd73oECXurIfsr1Ru8D4zs_lnv52wzb87nALb9V8uqJlOPJ5WfMmSHDRSbQ&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': 'VQtOWr4aZLpeQTgoXKtT', 'refresh_token': 'HaoX3wNikkciGS1Vmd9qluvqlzkcqS1tH7BDTQCO', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiQkw1Ujh5cVlWS1RZbnJWRXEzdk93QSIsIm5vbmNlIjoiSTFtRHNIbGQ2bWNEZG5kcyIsImlhdCI6MTU2MDc1NDkyOCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IlVnZkZhV1MtalNTVzFhRnl4SzQyd2ciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODM0OCwiYXVkIjoibUNzZ2RsOUtlSVJBWG1oamNnN2sifQ.nyRTetKXHsbRZE-IzjVAf4LlBVo-qFz5Crciu87hA5e7yOwT0MDRKPPF6gYXF0ygWZoWappdVdOKVa5EZo0nZnUZeVwxUPzipQWQWmU59_elmQZb3aXA4BuyKqJ7UyYKqQXhha5VQ_OZvBLf6ABvg4395A0FAgxWRTlBT0YdMPoKgS-sbqnt8ybHX3EcTgqdB82gdw0JtiPClAi8VlViOor0p5ncf9c2mpOBMXOw9f4j44jhc1ieK50kTj2Ac4_mhkKDHjBcrqHFYKLKRoZkvN4ka-zaedojy5SsZV4jt2XUulATbv-hBL2q6b-9ydVZzuWjUy4-kpW-LkyJ15v5jA', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "VQtOWr4aZLpeQTgoXKtT",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "UgfFaWS-jSSW1aFyxK42wg",
        "aud": [
            "mCsgdl9KeIRAXmhjcg7k"
        ],
        "exp": 1560758348,
        "iat": 1560754928,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "I1mDsHld6mcDdnds",
        "rt_hash": "BL5R8yqYVKTYnrVEq3vOwA",
        "sub": "testuser"
    },
    "refresh_token": "HaoX3wNikkciGS1Vmd9qluvqlzkcqS1tH7BDTQCO",
    "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]
3assertionIsIDTokenSigned
3conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
3conditionDone: status=OK

Result

PASSED