Test Info

Issuerhttps://testop.funet.fi
Profile[]
Test IDOP-redirect_uri-Query-OK
Test descriptionRequest with a redirect_uri with a query component when a redirect_uri with the same query component is registered
Timestamp2019-04-29T13:31:55Z

Conditions


check-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
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 token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:60028/authz_cb?foo=bar'], '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?foo=bar"
    ],
    "response_types": [
        "id_token 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": "_24d11d3fc38886172c39362714bebf4a",
    "client_id_issued_at": 1556544712,
    "client_secret": "_e583a0c5a22341a06b23f1df6dbad7a5",
    "client_secret_expires_at": 1588080711,
    "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?foo=bar"
    ],
    "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"
}
2phase<--<-- 3 --- AsyncAuthn -->-->
2AuthorizationRequest
{
    "client_id": "_24d11d3fc38886172c39362714bebf4a",
    "nonce": "ro5pCtlL0yZH8l20",
    "redirect_uri": "https://op.certification.openid.net:60028/authz_cb?foo=bar",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "n414sMdifIwigmRZ"
}
2redirect urlhttps://testop.funet.fi/idp/profile/oidc/authorize?state=n414sMdifIwigmRZ&nonce=ro5pCtlL0yZH8l20&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb%3Ffoo%3Dbar&client_id=_24d11d3fc38886172c39362714bebf4a
2redirecthttps://testop.funet.fi/idp/profile/oidc/authorize?state=n414sMdifIwigmRZ&nonce=ro5pCtlL0yZH8l20&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60028%2Fauthz_cb%3Ffoo%3Dbar&client_id=_24d11d3fc38886172c39362714bebf4a
4http args{'foo': 'bar'}
5responseURL with fragment
5responseaccess_token=AAdzZWNyZXQxrvyRqyOGmQ3OFK2pJkXnVqCkVRyqyO8NGB9voeg15wk_KaDXI23H5V3NiAlA0qJbeqHChmSnXubYJInNpyxqGE4GHEd3PZN1NRA1HJESXSGokalsL8zm0lEbxyly6IxYtvNSsWwXTRW_G1Lx8noFv_oaHhoebMIDlpI5f6TYKIZRYJ1Ln6XrVrcbBUR9JkseB53bdET-eWL1E2xRyDl4tG0LqMkx-QlOy03BBl8F71aL6jA5X5A8TJQfc6yaLpCCD5A-TwEC8Zgh4TqW1Xlfsa6iWZLrkEodnu3-JPkQP_mHSx8D2gAIlDKlKCXyklQ8AshhQJm8aIa7jvgPWIV7yqXh77HfU8GESW-LrmJaTIb5KZLXbIC38_L9cpx_u-pQvTpamMfvtt2zYbpUG8ErfQsxCqnIwwuwIP9pbUc-d70PRkFHz5v8HGHYJd6pfHhB9BAPYrPHdNvCqlKmriPRw04oWzUhE1YYxG_skbs_hVL7w9Hrb2l5HfmLgQ&id_token=eyJraWQiOiJ0ZXN0a2V5UlMiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoiX1VaeHVVVXE4ZVJyaHVNOHdQMVhpQSIsInN1YiI6IlZVRzQ3NzdZUDNOTVU1S1JGRVNYNlNLUkFQWExFNE1JIiwiYXVkIjoiXzI0ZDExZDNmYzM4ODg2MTcyYzM5MzYyNzE0YmViZjRhIiwiYWNyIjoicGFzc3dvcmQiLCJhdXRoX3RpbWUiOjE1NTY1NDQ1MDEsImlzcyI6Imh0dHBzOlwvXC90ZXN0b3Au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hQJm8aIa7jvgPWIV7yqXh77HfU8GESW-LrmJaTIb5KZLXbIC38_L9cpx_u-pQvTpamMfvtt2zYbpUG8ErfQsxCqnIwwuwIP9pbUc-d70PRkFHz5v8HGHYJd6pfHhB9BAPYrPHdNvCqlKmriPRw04oWzUhE1YYxG_skbs_hVL7w9Hrb2l5HfmLgQ",
    "expires_in": 600,
    "id_token": {
        "acr": "password",
        "at_hash": "_UZxuUUq8eRrhuM8wP1XiA",
        "aud": [
            "_24d11d3fc38886172c39362714bebf4a"
        ],
        "auth_time": 1556544501,
        "exp": 1556548314,
        "iat": 1556544714,
        "iss": "https://testop.funet.fi",
        "nonce": "ro5pCtlL0yZH8l20",
        "sub": "VUG4777YP3NMU5KRFESX6SKRAPXLE4MI"
    },
    "state": "n414sMdifIwigmRZ",
    "token_type": "Bearer"
}
5phase<--<-- 4 --- Done -->-->
5end
5assertionCheckQueryPart
5conditioncheck-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
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