Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-redirect_uri-Query-OK
Test description: Request with a redirect_uri with a query component when a redirect_uri with the same query component is registered
Timestamp: 2018-06-23T10:55:06Z

============================================================

Trace output

0.0 phase <--<-- 0 --- Webfinger -->-->
0.0 not expected to do WebFinger
0.0 phase <--<-- 1 --- Discovery -->-->
0.0 provider_config kwargs:{'issuer': 'https://oidc-certification.ory.sh:8443/'}
0.076 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.077 ProviderConfigurationResponse {
    "authorization_endpoint": "https://oidc-certification.ory.sh:8443/oauth2/auth",
    "claims_parameter_supported": false,
    "claims_supported": [
        "sub"
    ],
    "grant_types_supported": [
        "authorization_code",
        "implicit",
        "client_credentials",
        "refresh_token"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "issuer": "https://oidc-certification.ory.sh:8443/",
    "jwks_uri": "https://oidc-certification.ory.sh:8443/.well-known/jwks.json",
    "registration_endpoint": "https://oidc-certification.ory.sh:8443/clients",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": true,
    "response_modes_supported": [
        "query",
        "fragment"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "id_token",
        "token id_token",
        "token",
        "token id_token code"
    ],
    "scopes_supported": [
        "offline",
        "openid"
    ],
    "subject_types_supported": [
        "pairwise",
        "public"
    ],
    "token_endpoint": "https://oidc-certification.ory.sh:8443/oauth2/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic",
        "private_key_jwt",
        "none"
    ],
    "userinfo_endpoint": "https://oidc-certification.ory.sh:8443/userinfo",
    "userinfo_signing_alg_values_supported": [
        "none",
        "RS256"
    ],
    "version": "3.0"
}
0.077 phase <--<-- 2 --- Registration -->-->
0.077 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['code id_token'], 'contacts': ['roland@example.com'], 'redirect_uris': ['https://op.certification.openid.net:61353/authz_cb?foo=bar'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61353/logout'], 'jwks_uri': 'https://op.certification.openid.net:61353/static/jwks_61353.json', 'grant_types': ['authorization_code', 'implicit'], 'application_type': 'web', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
0.078 RegistrationRequest {
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61353/static/jwks_61353.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61353/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb?foo=bar"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#VXD8W8WWf1ti8maQ"
    ],
    "response_types": [
        "code id_token"
    ]
}
0.234 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.235 RegistrationResponse {
    "client_id": "45b913e8-3e87-466e-b464-2278d2a72190",
    "client_secret": "wlGmnrSWeTlU",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "45b913e8-3e87-466e-b464-2278d2a72190",
    "jwks_uri": "https://op.certification.openid.net:61353/static/jwks_61353.json",
    "public": false,
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb?foo=bar"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#VXD8W8WWf1ti8maQ"
    ],
    "response_types": [
        "code id_token"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "client_secret_basic",
    "userinfo_signed_response_alg": "none"
}
0.235 phase <--<-- 3 --- AsyncAuthn -->-->
0.235 AuthorizationRequest {
    "client_id": "45b913e8-3e87-466e-b464-2278d2a72190",
    "nonce": "Ng0mM8TN571Kk3Le",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb?foo=bar",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "3nCtpDevq22iGQEs"
}
0.236 redirect url https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb%3Ffoo%3Dbar&client_id=45b913e8-3e87-466e-b464-2278d2a72190&state=3nCtpDevq22iGQEs&response_type=code+id_token&nonce=Ng0mM8TN571Kk3Le
0.236 redirect https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb%3Ffoo%3Dbar&client_id=45b913e8-3e87-466e-b464-2278d2a72190&state=3nCtpDevq22iGQEs&response_type=code+id_token&nonce=Ng0mM8TN571Kk3Le
2.698 http args {'foo': 'bar'}
2.872 response URL with fragment
2.872 response code=gtAJKrrXqrlZruz5LXVaHztBXf2-s3y4HcVb-W6_4po.szFxKoVQgrv7yPM87KQ2PKlRs7V-WRtFUtoRj78OJms&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowYWNmNmM2NC00ZDU1LTQ4ODgtYWJiOS1iMmEzZjY2MWVlN2YiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiNDViOTEzZTgtM2U4Ny00NjZlLWI0NjQtMjI3OGQyYTcyMTkwIl0sImF1dGhfdGltZSI6MTUyOTc1MTIyNCwiY19oYXNoIjoiTGF1dWFoX0xjcHdyZXZIVnNGdDVFdyIsImV4cCI6MTUyOTc1NDkwNiwiaWF0IjoxNTI5NzUxMzA2LCJpc3MiOiJodHRwczovL29pZGMtY2VydGlmaWNhdGlvbi5vcnkuc2g6ODQ0My8iLCJqdGkiOiJhYmEwNDJjZS1kOTMxLTQ1OTQtOWQ4Mi01ZjljMjRhNDQyMzMiLCJub25jZSI6Ik5nMG1NOFRONTcxS2szTGUiLCJyYXQiOjE1Mjk3NTEzMDQsInN1Yi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oRj78OJms",
    "id_token": {
        "aud": [
            "45b913e8-3e87-466e-b464-2278d2a72190"
        ],
        "auth_time": 1529751224,
        "c_hash": "Lauuah_LcpwrevHVsFt5Ew",
        "exp": 1529754906,
        "iat": 1529751306,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "aba042ce-d931-4594-9d82-5f9c24a44233",
        "nonce": "Ng0mM8TN571Kk3Le",
        "rat": 1529751304,
        "sub": "foo@bar.com"
    },
    "state": "3nCtpDevq22iGQEs"
}
2.95 phase <--<-- 4 --- Done -->-->
2.95 end 
2.951 assertion VerifyResponse
2.951 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2.951 assertion CheckQueryPart
2.951 condition check-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
2.951 condition Done: status=OK



============================================================

Conditions

verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
check-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
Done: status=OK



============================================================

RESULT: PASSED
