internal/certification/IT.F.T.T.s/OP-redirect_uri-Query-OK.txt
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-23T11:24:22Z
============================================================
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.072 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.073 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.073 phase <--<-- 2 --- Registration -->-->
0.074 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['id_token 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': ['implicit'], 'application_type': 'web', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
0.074 RegistrationRequest {
"application_type": "web",
"contacts": [
"roland@example.com"
],
"grant_types": [
"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#Xpw6liMANFUkrX3O"
],
"response_types": [
"id_token token"
]
}
0.231 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.232 RegistrationResponse {
"client_id": "87f0ee4e-f5fa-4fbb-b53d-238019a1ae25",
"client_secret": "vNS2wXvsoCGc",
"client_secret_expires_at": 0,
"contacts": [
"roland@example.com"
],
"grant_types": [
"implicit"
],
"id": "87f0ee4e-f5fa-4fbb-b53d-238019a1ae25",
"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#Xpw6liMANFUkrX3O"
],
"response_types": [
"id_token token"
],
"scope": "openid offline offline_access profile email address phone",
"token_endpoint_auth_method": "client_secret_basic",
"userinfo_signed_response_alg": "none"
}
0.232 phase <--<-- 3 --- AsyncAuthn -->-->
0.233 AuthorizationRequest {
"client_id": "87f0ee4e-f5fa-4fbb-b53d-238019a1ae25",
"nonce": "OzGa8wrLwsuzNkfl",
"redirect_uri": "https://op.certification.openid.net:61353/authz_cb?foo=bar",
"response_type": "id_token token",
"scope": "openid",
"state": "c8YakmmJsiN9ZwTw"
}
0.233 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=87f0ee4e-f5fa-4fbb-b53d-238019a1ae25&state=c8YakmmJsiN9ZwTw&response_type=id_token+token&nonce=OzGa8wrLwsuzNkfl
0.233 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=87f0ee4e-f5fa-4fbb-b53d-238019a1ae25&state=c8YakmmJsiN9ZwTw&response_type=id_token+token&nonce=OzGa8wrLwsuzNkfl
5.472 http args {'foo': 'bar'}
5.643 response URL with fragment
5.644 response access_token=lkAitM-U-V8FWgMClSV-ZAfqYFnJwE1LXphjqhP4Cgg.qe4Jl7EQNFvF7BPPcVrJw9GSSRfKD2A3OCtTdunBICg&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzo0YWU0OWJmNC05ZGEwLTRhODItYmNjZS04OTNjMzcyOWYyMmEiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoiNjg5eHd0dEdkejNKN2hlTGYxMG9RUSIsImF1ZCI6WyI4N2YwZWU0ZS1mNWZhLTRmYmItYjUzZC0yMzgwMTlhMWFlMjUiXSwiYXV0aF90aW1lIjoxNTI5NzUzMDA5LCJleHAiOjE1Mjk3NTY2NjEsImlhdCI6MTUyOTc1MzA2MSwiaXNzIjoiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvIiwianRpIjoiYjhmOGMwMTctZDdiNy00OTQwLThhMTktYThmOWUwZWZiZTg3Iiwibm9uY2UiOiJPekdhOHdyTHdzdXpOa2ZsIiwicmF0IjoxNTI5NzUzMDU2LCJzdWIiOiJmb29AYmFyLmNvbSJ9.nzm3CD1QQ8CBLfDHB1gRASIC5GtvQ22bNu3aXm_C7Hy6w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Ny00OTQwLThhMTktYThmOWUwZWZiZTg3Iiwibm9uY2UiOiJPekdhOHdyTHdzdXpOa2ZsIiwicmF0IjoxNTI5NzUzMDU2LCJzdWIiOiJmb29AYmFyLmNvbSJ9.nzm3CD1QQ8CBLfDHB1gRASIC5GtvQ22bNu3aXm_C7Hy6wPaO6LQdiZI5gK_wI092QVIWcP4l5Opyq2JYKEJ9mfoPUTV1iKFx7B7t7og6BBolCWiaC1uwb4TZOIbj4UYZa_-b6UH_V-syZOjaW9aJ-WFB38hAMoFNA6FvC9f73Vkv4FgshsYVgkNtvSMgc4URDXI6MW4oHr_0Vz7Yf8pYx4l4QRysWZGWm4U2fE9O5Tk3WEaNHlffrYM831-E7V6Dql5I_4PBrdaYtJqjF4LsZvxStMDQD0mP0nx_zvVx8Sauu20DPFKPiRQFMRsNMKbCFezHe6TSnfhepeRXWUlFLw5eF6extzcIIL9YmoEHj_eKrn_S7mOVF1RcoUzQTHJneB0IoazseGFk50sKPKu8NVkSYR-1-SEdi3QJ2KPizuxGygtq_btYhAU5AoqN3wQEKJhO3Q6EJJz5SgeOnGDvPsR_IEgKykq-e_g5_7mVo8zjjr6bofsWQHXisQv4Dd4CErOzCZQ6Plm6WLRnnq1zjarigr5AA_xFrecujAcws74WtPNa8pXEsJnibEauyWgl9IVByTn-Ms8GiAtdHQwdiphWuST35mG-uh_-AKPrzMnjcDhP_XqfCAhZrJ-T4rc8KsYUzQ2LziyOAhNu8CDVftLonYMXXlmD1LdL7yt0uHo', 'scope': 'openid', 'access_token': 'lkAitM-U-V8FWgMClSV-ZAfqYFnJwE1LXphjqhP4Cgg.qe4Jl7EQNFvF7BPPcVrJw9GSSRfKD2A3OCtTdunBICg', 'state': 'c8YakmmJsiN9ZwTw', 'expires_in': 3599, 'token_type': 'bearer'}
5.73 AuthorizationResponse {
"access_token": "lkAitM-U-V8FWgMClSV-ZAfqYFnJwE1LXphjqhP4Cgg.qe4Jl7EQNFvF7BPPcVrJw9GSSRfKD2A3OCtTdunBICg",
"expires_in": 3599,
"id_token": {
"at_hash": "689xwttGdz3J7heLf10oQQ",
"aud": [
"87f0ee4e-f5fa-4fbb-b53d-238019a1ae25"
],
"auth_time": 1529753009,
"exp": 1529756661,
"iat": 1529753061,
"iss": "https://oidc-certification.ory.sh:8443/",
"jti": "b8f8c017-d7b7-4940-8a19-a8f9e0efbe87",
"nonce": "OzGa8wrLwsuzNkfl",
"rat": 1529753056,
"sub": "foo@bar.com"
},
"scope": "openid",
"state": "c8YakmmJsiN9ZwTw",
"token_type": "bearer"
}
5.73 phase <--<-- 4 --- Done -->-->
5.73 end
5.73 assertion VerifyResponse
5.73 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
5.731 assertion CheckQueryPart
5.731 condition check-query-part: status=OK [Check that a query part send in the Authorization Request is returned in the Authorization response.]
5.731 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