Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-IDToken-SigEnc
Test descriptionSigned and encrypted ID Token [Extra]
Timestamp2019-04-29T12:47:43Z

Conditions


signed-encrypted-idtoken: status=OK [Verifies that a IDToken was signed and then encrypted]
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', 'id_token_encrypted_response_alg': 'RSA1_5', 'id_token_encrypted_response_enc': 'A128CBC-HS256', 'id_token_signed_response_alg': 'RS256'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id_token_encrypted_response_alg": "RSA1_5",
    "id_token_encrypted_response_enc": "A128CBC-HS256",
    "id_token_signed_response_alg": "RS256",
    "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": "_8210a28ea6d6f6e0bff45e876df7dca8",
    "client_id_issued_at": 1556542060,
    "client_secret": "_624c6babbe3c74bbfa77dd9b13127938",
    "client_secret_expires_at": 1588078059,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id_token_encrypted_response_alg": "RSA1_5",
    "id_token_encrypted_response_enc": "A128CBC-HS256",
    "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": "_8210a28ea6d6f6e0bff45e876df7dca8",
    "nonce": "1cFr2zJUjq9DxupJ",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "doHMSBvYRCE4ktHa"
}
2redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=doHMSBvYRCE4ktHa&nonce=1cFr2zJUjq9DxupJ&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_8210a28ea6d6f6e0bff45e876df7dca8
2redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=doHMSBvYRCE4ktHa&nonce=1cFr2zJUjq9DxupJ&response_type=id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb&client_id=_8210a28ea6d6f6e0bff45e876df7dca8
5http args{}
5responseURL with fragment
5responseid_token=eyJjdHkiOiJKV1QiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiUlNBMV81In0.LMuwECuvR44ONv5Op0_kJK7aDq6N1T-qFD49t4rj-zyAbnYnZlMt1Rc3t_WPUHLUjYEWTpUZthFiIgBrFoKoblvVDQwq8bJL_Ge4l2BC-ugSIGJ7E6fSKMy5dN7WxO1aikWbnLYu_wPREOjfYau89u7okeQoGkhY7ZRaEQjyYKfYFXHo83QNjdNorqlChC7psxjbLnrXGXcDwBMa8EwWnilQe8NRFnxxQOKEvmaz2MqEWcByGVGCBgQLvsBTkG6jQZbZ3VhGRbxeJHbpvdwAfbnSCEn_aVBnQ3gtVVNrqozg8G8EiYJ-n3g2S578l7ukmZXPK-ZY8PJKxtCkdQtE9Q.2CB2FX_T_y_OsMxlEMT46Q.CByjD3S6jUO7AtQbNMgfizHX_7fQ80j52Tp7bfXZFJSKO5kfg9Hg0Us_9vhmOGa4_hPZIQSx6_iAKhGR2KnzYZAyZq_fsSJD5mVpya3jJhh4cdVbJQs6rEW5NuOtNQwF1xPy1uQDHK6eDbTxGWT8rDZJP29RAvScqKTI1F_n74R07wfgwHFEiP-9A-nfG0RkpebfZts1VCxmN7p4J5vLtNrCO3giF69c67HbP4b9Z6toIw-3-loE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thorizationResponse
{
    "id_token": {
        "acr": "password",
        "aud": [
            "_8210a28ea6d6f6e0bff45e876df7dca8"
        ],
        "auth_time": 1556541573,
        "exp": 1556545662,
        "iat": 1556542062,
        "iss": "https://testop.funet.fi",
        "nonce": "1cFr2zJUjq9DxupJ",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "doHMSBvYRCE4ktHa"
}
5phase<--<-- 4 --- AccessToken -->-->
5phase<--<-- 5 --- Done -->-->
5end
5assertionCheckSignedEncryptedIDToken
5conditionsigned-encrypted-idtoken: status=OK [Verifies that a IDToken was signed and then encrypted]
5assertionVerifyResponse
5conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
5conditionDone: status=OK

Result

PASSED