Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-UserInfo-SigEnc
Test descriptionCan provide signed and encrypted UserInfo response
Timestamp2019-04-29T13:22:17Z

Conditions


asym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
encrypted-userinfo: status=OK [Verifies that the UserInfo returned was encrypted]
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 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', 'userinfo_encrypted_response_enc': 'A128CBC-HS256', 'userinfo_encrypted_response_alg': 'RSA1_5', 'userinfo_signed_response_alg': 'RS256'}
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"
    ],
    "token_endpoint_auth_method": "client_secret_basic",
    "userinfo_encrypted_response_alg": "RSA1_5",
    "userinfo_encrypted_response_enc": "A128CBC-HS256",
    "userinfo_signed_response_alg": "RS256"
}
2http response
url:https://testop.funet.fi/idp/profile/oidc/register status_code:200
2RegistrationResponse
{
    "application_type": "web",
    "client_id": "_60541996f170e2b92a81f271974baf07",
    "client_id_issued_at": 1556544132,
    "client_secret": "_4c42085c473315096b3f58ac5d7f05ec",
    "client_secret_expires_at": 1588080132,
    "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 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",
    "userinfo_encrypted_response_alg": "RSA1_5",
    "userinfo_encrypted_response_enc": "A128CBC-HS256",
    "userinfo_signed_response_alg": "RS256"
}
2phase<--<-- 3 --- AsyncAuthn -->-->
2AuthorizationRequest
{
    "client_id": "_60541996f170e2b92a81f271974baf07",
    "nonce": "xxSFqQHZY9nbfUFe",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "YAPg1BKLMdY4zpH7"
}
2redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=YAPg1BKLMdY4zpH7&nonce=xxSFqQHZY9nbfUFe&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_60541996f170e2b92a81f271974baf07
2redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=YAPg1BKLMdY4zpH7&nonce=xxSFqQHZY9nbfUFe&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_60541996f170e2b92a81f271974baf07
5http args{}
5responseURL with fragment
5responseaccess_token=AAdzZWNyZXQx0EhO_Bw8pWaGq_fxGDfdS5Ztxu8fmtvM0r40mdyGmYFWbdyiu0BZEs3J4xFZBINlyne4wa5slM5GPGKgmPtTiWGepKJgyzrSL5PRDQVhImXcxFxBaRDeDi5u3fcg07Z8koKTgpq7IYnHSK4Oug7U-y0NzG4E4Sli6C65OkTKbOg2ctIr3MYJa4WrO2vHXpQS7gyQE8LuiSkr8VW_HAgct-QhXugOZ7i5BbeXBxp97ki3B_C3trUVwIiGHvKtatuI6D61ipF_vBQK7QF5ATvry3Ml6BSP3b-Acg2o2f0YbXjU0P_WXKaqkAoYBoQOypHYN2rgmC2nKyLmZkdUsGuzd61m5X6-bC0stdGGertgSIH_ILrzyOWkNLm08eZZDrcfeIooz2uacnVP0pbESR7ucnL_oksxX5BaPgblOdjYooWBXEfgI7Utdkuj2qwg03QouJBQ8FrFrKfBEpeOWkfBLinBV2TPbxwtJkmTMx05HLSB8zo&id_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoiOHlaZ25EdEhzOWh6aFpNcTRISVlJQSIsInN1YiI6IlZVRzQ3NzdZUDN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Oug7U-y0NzG4E4Sli6C65OkTKbOg2ctIr3MYJa4WrO2vHXpQS7gyQE8LuiSkr8VW_HAgct-QhXugOZ7i5BbeXBxp97ki3B_C3trUVwIiGHvKtatuI6D61ipF_vBQK7QF5ATvry3Ml6BSP3b-Acg2o2f0YbXjU0P_WXKaqkAoYBoQOypHYN2rgmC2nKyLmZkdUsGuzd61m5X6-bC0stdGGertgSIH_ILrzyOWkNLm08eZZDrcfeIooz2uacnVP0pbESR7ucnL_oksxX5BaPgblOdjYooWBXEfgI7Utdkuj2qwg03QouJBQ8FrFrKfBEpeOWkfBLinBV2TPbxwtJkmTMx05HLSB8zo",
    "expires_in": 600,
    "id_token": {
        "acr": "password",
        "at_hash": "8yZgnDtHs9hzhZMq4HIYIA",
        "aud": [
            "_60541996f170e2b92a81f271974baf07"
        ],
        "auth_time": 1556543011,
        "exp": 1556547735,
        "iat": 1556544135,
        "iss": "https://testop.funet.fi",
        "nonce": "xxSFqQHZY9nbfUFe",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "YAPg1BKLMdY4zpH7",
    "token_type": "Bearer"
}
6phase<--<-- 4 --- AccessToken -->-->
6phase<--<-- 5 --- UserInfo -->-->
6do_user_info_request
kwargs:{'state': 'YAPg1BKLMdY4zpH7', 'method': 'GET', 'authn_method': 'bearer_header'}
6request{'body': None}
6request_urlhttps://testop.funet.fi/idp/profile/oidc/userinfo
6request_http_args{'headers': {'Authorization': 'Bearer AAdzZWNyZXQx0EhO_Bw8pWaGq_fxGDfdS5Ztxu8fmtvM0r40mdyGmYFWbdyiu0BZEs3J4xFZBINlyne4wa5slM5GPGKgmPtTiWGepKJgyzrSL5PRDQVhImXcxFxBaRDeDi5u3fcg07Z8koKTgpq7IYnHSK4Oug7U-y0NzG4E4Sli6C65OkTKbOg2ctIr3MYJa4WrO2vHXpQS7gyQE8LuiSkr8VW_HAgct-QhXugOZ7i5BbeXBxp97ki3B_C3trUVwIiGHvKtatuI6D61ipF_vBQK7QF5ATvry3Ml6BSP3b-Acg2o2f0YbXjU0P_WXKaqkAoYBoQOypHYN2rgmC2nKyLmZkdUsGuzd61m5X6-bC0stdGGertgSIH_ILrzyOWkNLm08eZZDrcfeIooz2uacnVP0pbESR7ucnL_oksxX5BaPgblOdjYooWBXEfgI7Utdkuj2qwg03QouJBQ8FrFrKfBEpeOWkfBLinBV2TPbxwtJkmTMx05HLSB8zo'}}
7http response
url:https://testop.funet.fi/idp/profile/oidc/userinfo status_code:200
7OpenIDSchema
{
    "aud": "_60541996f170e2b92a81f271974baf07",
    "iss": "https://testop.funet.fi",
    "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
}
7OpenIDSchema
{
    "aud": "_60541996f170e2b92a81f271974baf07",
    "iss": "https://testop.funet.fi",
    "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
}
7jws header{'kid': 'testkeyRS', 'alg': 'RS256'}
7jwe header{'cty': 'JWT', 'enc': 'A128CBC-HS256', 'alg': 'RSA1_5'}
7phase<--<-- 6 --- Done -->-->
7end
7assertionCheckAsymSignedUserInfo
7conditionasym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
7assertionVerifyResponse
7conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
7assertionCheckEncryptedUserInfo
7conditionencrypted-userinfo: status=OK [Verifies that the UserInfo returned was encrypted]
7conditionDone: status=OK

Result

PASSED