Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-Registration-Sub-Differ
Test descriptionPublic and pairwise sub values differ
Timestamp2019-04-29T12:43:15Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
different_sub: status=OK [Verifies that the sub value differs between public and pairwise subject types.]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://testop.funet.fi'}
1http response
url:https://testop.funet.fi/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "authorization_endpoint": "https://testop.funet.fi/idp/profile/oidc/authorize",
    "claims_parameter_supported": true,
    "claims_supported": [
        "aud",
        "iss",
        "sub",
        "iat",
        "exp",
        "acr",
        "auth_time",
        "email",
        "email_verified",
        "address",
        "phone",
        "phone_number_verified",
        "name",
        "family_name",
        "given_name",
        "middle_name",
        "nickname",
        "preferred_username",
        "profile",
        "picture",
        "website",
        "gender",
        "birthdate",
        "zoneinfo",
        "locale",
        "updated_at"
    ],
    "display_values_supported": [
        "page"
    ],
    "grant_types_supported": [
        "authorization_code",
        "implicit",
        "refresh_token"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "RSA-OAEP-256",
        "A128KW",
        "A192KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A192CBC-HS384",
        "A256CBC-HS512",
        "A128GCM",
        "A192GCM",
        "A256GCM"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256",
        "RS384",
        "RS512",
        "HS256",
        "HS384",
        "HS512",
        "ES256"
    ],
    "issuer": "https://testop.funet.fi",
    "jwks_uri": "https://testop.funet.fi/idp/profile/oidc/keyset",
    "registration_endpoint": "https://testop.funet.fi/idp/profile/oidc/register",
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "RSA-OAEP-256",
        "A128KW",
        "A192KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A192CBC-HS384",
        "A256CBC-HS512",
        "A128GCM",
        "A192GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "RS256",
        "RS384",
        "RS512",
        "HS256",
        "HS384",
        "HS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "query",
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "code",
        "id_token",
        "token id_token",
        "code id_token",
        "code token",
        "code token id_token"
    ],
    "scopes_supported": [
        "openid",
        "profile",
        "email",
        "address",
        "phone",
        "offline_access"
    ],
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "token_endpoint": "https://testop.funet.fi/idp/profile/oidc/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "RSA-OAEP-256",
        "A128KW",
        "A192KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A192CBC-HS384",
        "A256CBC-HS512",
        "A128GCM",
        "A192GCM",
        "A256GCM"
    ],
    "userinfo_endpoint": "https://testop.funet.fi/idp/profile/oidc/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256",
        "RS384",
        "RS512",
        "HS256",
        "HS384",
        "HS512",
        "ES256"
    ],
    "version": "3.0"
}
1phase<--<-- 2 --- Registration -->-->
1register
kwargs:{'response_types': ['id_token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:60028/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:60028/logout'], 'url': 'https://testop.funet.fi/idp/profile/oidc/register', 'jwks_uri': 'https://op.certification.openid.net:60028/static/jwks_60028.json', 'token_endpoint_auth_method': 'client_secret_basic', 'subject_type': 'public'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:60028/static/jwks_60028.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:60028/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:60028/authz_cb"
    ],
    "response_types": [
        "id_token"
    ],
    "subject_type": "public",
    "token_endpoint_auth_method": "client_secret_basic"
}
2http response
url:https://testop.funet.fi/idp/profile/oidc/register status_code:200
2RegistrationResponse
{
    "application_type": "web",
    "client_id": "_39914e5b52a188ea6d6f00e31f2b530d",
    "client_id_issued_at": 1556541787,
    "client_secret": "_278468ff0d7bdc57fe0734379ff5c46e",
    "client_secret_expires_at": 1588077786,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id_token_signed_response_alg": "RS256",
    "jwks_uri": "https://op.certification.openid.net:60028/static/jwks_60028.json",
    "redirect_uris": [
        "https://op.certification.openid.net:60028/authz_cb"
    ],
    "response_types": [
        "id_token"
    ],
    "scope": "openid profile email address phone offline_access",
    "subject_type": "public",
    "tls_client_certificate_bound_access_tokens": false,
    "token_endpoint_auth_method": "client_secret_basic"
}
2phase<--<-- 3 --- AsyncAuthn -->-->
2AuthorizationRequest
{
    "client_id": "_39914e5b52a188ea6d6f00e31f2b530d",
    "nonce": "3bXdUAU5IFmKVzxw",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "LOdT3vQ82BaAt32k"
}
2redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=LOdT3vQ82BaAt32k&nonce=3bXdUAU5IFmKVzxw&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_39914e5b52a188ea6d6f00e31f2b530d
2redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=LOdT3vQ82BaAt32k&nonce=3bXdUAU5IFmKVzxw&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_39914e5b52a188ea6d6f00e31f2b530d
5http args{}
5responseURL with fragment
5responseid_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJWVUc0Nzc3WVAzTk1VNUtSRkVTWDZTS1JBUFhMRTRNSSIsImF1ZCI6Il8zOTkxNGU1YjUyYTE4OGVhNmQ2ZjAwZTMxZjJiNTMwZCIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQxNTczLCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1MzkwLCJpYXQiOjE1NTY1NDE3OTAsIm5vbmNlIjoiM2JYZFVBVTVJRm1LVnp4dyJ9.Atuv3njOIArxQ_XV5yf45mcD9ZWp2fJWfUQMBz8bMN3u-PvjU40m2knD5Q04IMAVTdzzorbNz5NY82uRix08qnnErVE1LPbi9-PznwaJGZZ36NUfG_jqLG6vs9nCgh2b1669BY43ZgzhpfoHMWnLwTZ-X2vPqNgsaFH-nQ5pf-PR2cJgESo_af9y2PwO2njgI6Llpby-KP3gwXf0Cuscbcj2a0_zeBoCiuuZE9OYSkeeMKfA8bxHVwAzuhLKuZ5390s8nf8lKQGipYwdxWwjJ5q317JvgWPGVo7GqV2YcTzsLT-aWjRld0_dDKSdKga8s7MvjrnOdgqUK6gpLjDrLw&state=LOdT3vQ82BaAt32k
5response{'id_token': 'eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJWVUc0Nzc3WVAzTk1VNUtSRkVTWDZTS1JBUFhMRTRNSSIsImF1ZCI6Il8zOTkxNGU1YjUyYTE4OGVhNmQ2ZjAwZTMxZjJiNTMwZCIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQxNTczLCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1MzkwLCJpYXQiOjE1NTY1NDE3OTAsIm5vbmNlIjoiM2JYZFVBVTVJRm1LVnp4dyJ9.Atuv3njOIArxQ_XV5yf45mcD9ZWp2fJWfUQMBz8bMN3u-PvjU40m2knD5Q04IMAVTdzzorbNz5NY82uRix08qnnErVE1LPbi9-PznwaJGZZ36NUfG_jqLG6vs9nCgh2b1669BY43ZgzhpfoHMWnLwTZ-X2vPqNgsaFH-nQ5pf-PR2cJgESo_af9y2PwO2njgI6Llpby-KP3gwXf0Cuscbcj2a0_zeBoCiuuZE9OYSkeeMKfA8bxHVwAzuhLKuZ5390s8nf8lKQGipYwdxWwjJ5q317JvgWPGVo7GqV2YcTzsLT-aWjRld0_dDKSdKga8s7MvjrnOdgqUK6gpLjDrLw', 'state': 'LOdT3vQ82BaAt32k'}
6AuthorizationResponse
{
    "id_token": {
        "acr": "password",
        "aud": [
            "_39914e5b52a188ea6d6f00e31f2b530d"
        ],
        "auth_time": 1556541573,
        "exp": 1556545390,
        "iat": 1556541790,
        "iss": "https://testop.funet.fi",
        "nonce": "3bXdUAU5IFmKVzxw",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "LOdT3vQ82BaAt32k"
}
6phase<--<-- 4 --- AccessToken -->-->
6phase<--<-- 5 --- Registration -->-->
6register
kwargs:{'response_types': ['id_token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:60028/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:60028/logout'], 'url': 'https://testop.funet.fi/idp/profile/oidc/register', 'jwks_uri': 'https://op.certification.openid.net:60028/static/jwks_60028.json', 'token_endpoint_auth_method': 'client_secret_basic', 'subject_type': 'pairwise'}
6RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:60028/static/jwks_60028.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:60028/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:60028/authz_cb"
    ],
    "response_types": [
        "id_token"
    ],
    "subject_type": "pairwise",
    "token_endpoint_auth_method": "client_secret_basic"
}
7http response
url:https://testop.funet.fi/idp/profile/oidc/register status_code:200
7RegistrationResponse
{
    "application_type": "web",
    "client_id": "_466e79813aa525d5796cab7432681d25",
    "client_id_issued_at": 1556541792,
    "client_secret": "_3c9ff1cc1845f0900cc3bd34e2d4d91d",
    "client_secret_expires_at": 1588077791,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id_token_signed_response_alg": "RS256",
    "jwks_uri": "https://op.certification.openid.net:60028/static/jwks_60028.json",
    "redirect_uris": [
        "https://op.certification.openid.net:60028/authz_cb"
    ],
    "response_types": [
        "id_token"
    ],
    "scope": "openid profile email address phone offline_access",
    "subject_type": "pairwise",
    "tls_client_certificate_bound_access_tokens": false,
    "token_endpoint_auth_method": "client_secret_basic"
}
7phase<--<-- 6 --- AsyncAuthn -->-->
7AuthorizationRequest
{
    "client_id": "_466e79813aa525d5796cab7432681d25",
    "nonce": "jp2g2C1zEQOzwmwe",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "GK9dsY6UaP6QdqiK"
}
7redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=GK9dsY6UaP6QdqiK&nonce=jp2g2C1zEQOzwmwe&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_466e79813aa525d5796cab7432681d25
7redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=GK9dsY6UaP6QdqiK&nonce=jp2g2C1zEQOzwmwe&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_466e79813aa525d5796cab7432681d25
10http args{}
10responseURL with fragment
10responseid_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJPSFZQN0NDVVFKVEIyRkZJRUtSSlRESk1WS1FOSFM2RiIsImF1ZCI6Il80NjZlNzk4MTNhYTUyNWQ1Nzk2Y2FiNzQzMjY4MWQyNSIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQxNTczLCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1Mzk0LCJpYXQiOjE1NTY1NDE3OTQsIm5vbmNlIjoianAyZzJDMXpFUU96d213ZSJ9.d6lAhvb4qghJnUBZLJ8-1lvvbNmhdQlptKSZj_bcd9uKYppyPKya5oPXVI1hUauvED_gd6PMsNZJXb4BOsKpBN8FxKaOIqt4sZGltRDJSCUpS4GZEMUb0L_ZXPIQA8sU7ji5-gv_tZjSOr-PHFoGYkSfpoXwU41QKgizSy1fNQeGLkUOCC-2MIviIIkKdKzIwJoAcp_YJeVjZm_xN1kAEGvOQA3vC1EKkA9et7tr99Gk9wCkulNt_i7qFB3O-vIrGCQv7DBSAZtEhIhXRfb8PpAaHfEuF7ESPxwevMRtWpgjvAslAs15vkfB9VJVB3GbR4Iua6y7rKBoXEoc-ZRNSQ&state=GK9dsY6UaP6QdqiK
10response{'id_token': 'eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJPSFZQN0NDVVFKVEIyRkZJRUtSSlRESk1WS1FOSFM2RiIsImF1ZCI6Il80NjZlNzk4MTNhYTUyNWQ1Nzk2Y2FiNzQzMjY4MWQyNSIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQxNTczLCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1Mzk0LCJpYXQiOjE1NTY1NDE3OTQsIm5vbmNlIjoianAyZzJDMXpFUU96d213ZSJ9.d6lAhvb4qghJnUBZLJ8-1lvvbNmhdQlptKSZj_bcd9uKYppyPKya5oPXVI1hUauvED_gd6PMsNZJXb4BOsKpBN8FxKaOIqt4sZGltRDJSCUpS4GZEMUb0L_ZXPIQA8sU7ji5-gv_tZjSOr-PHFoGYkSfpoXwU41QKgizSy1fNQeGLkUOCC-2MIviIIkKdKzIwJoAcp_YJeVjZm_xN1kAEGvOQA3vC1EKkA9et7tr99Gk9wCkulNt_i7qFB3O-vIrGCQv7DBSAZtEhIhXRfb8PpAaHfEuF7ESPxwevMRtWpgjvAslAs15vkfB9VJVB3GbR4Iua6y7rKBoXEoc-ZRNSQ', 'state': 'GK9dsY6UaP6QdqiK'}
10AuthorizationResponse
{
    "id_token": {
        "acr": "password",
        "aud": [
            "_466e79813aa525d5796cab7432681d25"
        ],
        "auth_time": 1556541573,
        "exp": 1556545394,
        "iat": 1556541794,
        "iss": "https://testop.funet.fi",
        "nonce": "jp2g2C1zEQOzwmwe",
        "sub": "OHVP7CCUQJTB2FFIEKRJTDJMVKQNHS6F"
    },
    "state": "GK9dsY6UaP6QdqiK"
}
10phase<--<-- 7 --- AccessToken -->-->
10phase<--<-- 8 --- Done -->-->
10end
10assertionVerifyResponse
10conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
10assertionCheckUserID
10conditiondifferent_sub: status=OK [Verifies that the sub value differs between public and pairwise subject types.]
10conditionDone: status=OK

Result

PASSED