Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-claims-sub
Test descriptionSupport claims request specifying sub value
Timestamp2019-04-29T12:50:58Z

Conditions


verify-sub-value: status=OK [Verifies that the sub claim returned in the id_token matched the one asked for.]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
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'}
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"
    ],
    "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": "_d99bd0232a847542be668ca12c86704e",
    "client_id_issued_at": 1556542244,
    "client_secret": "_bc39415c82bcf2a5618bb0822dfecd36",
    "client_secret_expires_at": 1588078243,
    "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": "_d99bd0232a847542be668ca12c86704e",
    "nonce": "5BpMJtFEdWm3gBk3",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "hrMOm4QdzWJq0nVR"
}
2redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=hrMOm4QdzWJq0nVR&nonce=5BpMJtFEdWm3gBk3&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_d99bd0232a847542be668ca12c86704e
2redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=hrMOm4QdzWJq0nVR&nonce=5BpMJtFEdWm3gBk3&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_d99bd0232a847542be668ca12c86704e
4http args{}
4responseURL with fragment
4responseid_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJWVUc0Nzc3WVAzTk1VNUtSRkVTWDZTS1JBUFhMRTRNSSIsImF1ZCI6Il9kOTliZDAyMzJhODQ3NTQyYmU2NjhjYTEyYzg2NzA0ZSIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQxNTczLCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1ODQ2LCJpYXQiOjE1NTY1NDIyNDYsIm5vbmNlIjoiNUJwTUp0RkVkV20zZ0JrMyJ9.GIeaDNmcMa7RjdpjgerRhiwJGxq9318a2Z30kXBa-9cx_psKlkmHz5D2OvSua_F-gCuJiSiZkvrPsiY9TYjj7nckehYvPOf5nGyHkfxMYAbbObbNfpm1Q_LPDc3nOyJFikSRoYokNjl91hQ-6kGroYknC1FwmNPswEh0_BOtekPXugHa0cUbA3NgGTDfRdvNyx4gpKrTOPdV_HnC684XDvdXw0CQZ06IRJzy5U4r3ljv98kMgrrjERv16P9xN4-ZCxhJ5W6BnQPqeWsRKfTcAStdSex0eHKwkBlkyq3OeiCA7XFd9SqVbWSFtbMoJnvY584pm8JZT68pgX1AgKy6Bg&state=hrMOm4QdzWJq0nVR
4response{'id_token': 'eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJWVUc0Nzc3WVAzTk1VNUtSRkVTWDZTS1JBUFhMRTRNSSIsImF1ZCI6Il9kOTliZDAyMzJhODQ3NTQyYmU2NjhjYTEyYzg2NzA0ZSIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQxNTczLCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1ODQ2LCJpYXQiOjE1NTY1NDIyNDYsIm5vbmNlIjoiNUJwTUp0RkVkV20zZ0JrMyJ9.GIeaDNmcMa7RjdpjgerRhiwJGxq9318a2Z30kXBa-9cx_psKlkmHz5D2OvSua_F-gCuJiSiZkvrPsiY9TYjj7nckehYvPOf5nGyHkfxMYAbbObbNfpm1Q_LPDc3nOyJFikSRoYokNjl91hQ-6kGroYknC1FwmNPswEh0_BOtekPXugHa0cUbA3NgGTDfRdvNyx4gpKrTOPdV_HnC684XDvdXw0CQZ06IRJzy5U4r3ljv98kMgrrjERv16P9xN4-ZCxhJ5W6BnQPqeWsRKfTcAStdSex0eHKwkBlkyq3OeiCA7XFd9SqVbWSFtbMoJnvY584pm8JZT68pgX1AgKy6Bg', 'state': 'hrMOm4QdzWJq0nVR'}
5AuthorizationResponse
{
    "id_token": {
        "acr": "password",
        "aud": [
            "_d99bd0232a847542be668ca12c86704e"
        ],
        "auth_time": 1556541573,
        "exp": 1556545846,
        "iat": 1556542246,
        "iss": "https://testop.funet.fi",
        "nonce": "5BpMJtFEdWm3gBk3",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "hrMOm4QdzWJq0nVR"
}
5phase<--<-- 4 --- AccessToken -->-->
5phase<--<-- 5 --- Cache -->-->
5phase<--<-- 6 --- Note -->-->
11phase<--<-- 7 --- AsyncAuthn -->-->
11AuthorizationRequest
{
    "claims": {
        "id_token": {
            "sub": {
                "value": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
            }
        }
    },
    "client_id": "_d99bd0232a847542be668ca12c86704e",
    "nonce": "JvFxf8knF0ViIap1",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "GZKXWEoxEf8VKSom"
}
11redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=GZKXWEoxEf8VKSom&nonce=JvFxf8knF0ViIap1&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&claims=%7B%22id_token%22%3A+%7B%22sub%22%3A+%7B%22value%22%3A+%22VUG4777YP3NMU5KRFESX6SKRAPXLE4MI%22%7D%7D%7D&client_id=_d99bd0232a847542be668ca12c86704e
11redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=GZKXWEoxEf8VKSom&nonce=JvFxf8knF0ViIap1&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&claims=%7B%22id_token%22%3A+%7B%22sub%22%3A+%7B%22value%22%3A+%22VUG4777YP3NMU5KRFESX6SKRAPXLE4MI%22%7D%7D%7D&client_id=_d99bd0232a847542be668ca12c86704e
16http args{}
16responseURL with fragment
16responseid_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJWVUc0Nzc3WVAzTk1VNUtSRkVTWDZTS1JBUFhMRTRNSSIsImF1ZCI6Il9kOTliZDAyMzJhODQ3NTQyYmU2NjhjYTEyYzg2NzA0ZSIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQyMjU3LCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1ODU3LCJpYXQiOjE1NTY1NDIyNTcsIm5vbmNlIjoiSnZGeGY4a25GMFZpSWFwMSJ9.XpWmUBeHaq-DVJXuFo6tmBKhJPT6liQVIGacJV3yege0ZdrmOy4xlC2tX0owbVELwBOC5Kt9ys9g5wnhjfDsTjnPiEh49RgQ1aHsjuHzGXzlLEsHL9CRzEnXuFHwcuPZG5jHDNDva6fGuVvIwSa5WcLVPR0DzUfOLakIMqbSRtpc8tkX2H8rA3WhgpcVi0WL6MLkgwefsq88Lwd72Dnm1SVdO4k3aC3srbzl5rqTcZCaijIrQWkOOFtXf-3hamZDCGChjTM7q2pqdPnLaey-_GwfFpOyt1SFYDCTcmOsMUo9Cus3BcwxZ_SacrVy8GpfM64-llqDC827XKOMskfdgg&state=GZKXWEoxEf8VKSom
16response{'id_token': 'eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJWVUc0Nzc3WVAzTk1VNUtSRkVTWDZTS1JBUFhMRTRNSSIsImF1ZCI6Il9kOTliZDAyMzJhODQ3NTQyYmU2NjhjYTEyYzg2NzA0ZSIsImFjciI6InBhc3N3b3JkIiwiYXV0aF90aW1lIjoxNTU2NTQyMjU3LCJpc3MiOiJodHRwczpcL1wvdGVzdG9wLmZ1bmV0LmZpIiwiZXhwIjoxNTU2NTQ1ODU3LCJpYXQiOjE1NTY1NDIyNTcsIm5vbmNlIjoiSnZGeGY4a25GMFZpSWFwMSJ9.XpWmUBeHaq-DVJXuFo6tmBKhJPT6liQVIGacJV3yege0ZdrmOy4xlC2tX0owbVELwBOC5Kt9ys9g5wnhjfDsTjnPiEh49RgQ1aHsjuHzGXzlLEsHL9CRzEnXuFHwcuPZG5jHDNDva6fGuVvIwSa5WcLVPR0DzUfOLakIMqbSRtpc8tkX2H8rA3WhgpcVi0WL6MLkgwefsq88Lwd72Dnm1SVdO4k3aC3srbzl5rqTcZCaijIrQWkOOFtXf-3hamZDCGChjTM7q2pqdPnLaey-_GwfFpOyt1SFYDCTcmOsMUo9Cus3BcwxZ_SacrVy8GpfM64-llqDC827XKOMskfdgg', 'state': 'GZKXWEoxEf8VKSom'}
16AuthorizationResponse
{
    "id_token": {
        "acr": "password",
        "aud": [
            "_d99bd0232a847542be668ca12c86704e"
        ],
        "auth_time": 1556542257,
        "exp": 1556545857,
        "iat": 1556542257,
        "iss": "https://testop.funet.fi",
        "nonce": "JvFxf8knF0ViIap1",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "GZKXWEoxEf8VKSom"
}
16phase<--<-- 8 --- AccessToken -->-->
16phase<--<-- 9 --- Done -->-->
16end
16assertionVerifySubValue
16conditionverify-sub-value: status=OK [Verifies that the sub claim returned in the id_token matched the one asked for.]
16assertionVerifyResponse
16conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
16conditionDone: status=OK

Result

PASSED