Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-Registration-jwks
Test description: Uses keys registered with jwks value
Timestamp: 2018-06-23T10:43:33Z

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

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.092 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.093 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.093 phase <--<-- 2 --- Registration -->-->
0.094 register kwargs:{'application_name': 'OIC test tool', 'jwks': {'keys': [{'use': 'enc', 'kty': 'RSA', 'n': 'pKXuY5tuT9ibmEcq4B6VRx3MafdSsajrOndAk5Fj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MAh6wvR8_-OEbl_9TTkkgAd7LXW8H48', 'crv': 'P-256', 'kid': 'CrXNdVSdrZ-lOToSPso6OlcZnP-Et4U9CzOIZOZPvLw'}]}, 'token_endpoint_auth_method': 'private_key_jwt', 'contacts': ['roland@example.com'], 'redirect_uris': ['https://op.certification.openid.net:61353/authz_cb'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61353/logout'], 'grant_types': ['authorization_code'], 'response_types': ['code'], 'url': 'https://oidc-certification.ory.sh:8443/clients', 'application_type': 'web'}
0.094 RegistrationRequest {
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks": {
        "keys": [
            {
                "e": "AQAB",
                "kid": "gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww",
                "kty": "RSA",
                "n": "pKXuY5tuT9ibmEcq4B6VRx3MafdSsajrOndAk5FjJFedlA6qSpdqDUr9wWUkNeO8h_efdLfg43CHXk3mH6Fp1t2gbHzBQ4-SzT3_X5tsdG2PPqvngem7f5NHO6Kefhq11Zk5q4-FyTL9FUQQW6ZANbrU7GifSAs82Ck20ciIvFdv7cPCphk_THMVv14aW5w0eKEXumgx4Bc7HrQFXQUHSze3dVAKg8hKHDIQOGUU0fkolEFmOC4Gb-G57RpBJryZxXqgdUdEG66xl1f37tqpYgaLViFDWDiI8S7BMVHEbGHN4-f_MD9f6gMduaxrL6a6SfyIW1So2VqtvlAyanesTw",
                "use": "enc"
            },
            {
                "e": "AQAB",
                "kid": "wt25OgyR_nzG3OoQ7daa2rL6-gMnFdfRzBjhUVPu8RQ",
                "kty": "RSA",
                "n": "1Z8lhYNb0tHZsVrzIQs-JetNCLIBWeOHXblcirxQgFLt6z4Rr-9vxPbEsrmRmZbPuuoL8nGehqOK11LAgqa1QfCR4TKxr2srlbTv4A4Gyf-suhO_KKt0JWv2q9olREZcoIE4FCwK0vuWTqD5q4qL_uqt_kHltzhdkJ4LySdCRCbxG1kcEcXoPNIhZERttqbZTIQviJxJ2HqC7CbwocmZMnbMAzP52bVX86vLxosmI-pqkG1RG8jMTZMhvc2GmYe6CfleW7bRxS0078sWDM_iACSQVOqLk5rcW_C-a61EYzNNN7BMw-VxFSDtoGgNgb6XGM6FTf9fkdJjIRL2VZAt0Q",
                "use": "sig"
            },
            {
                "crv": "P-256",
                "kid": "AZXCzT401BtqezIxAdHOEez1ApQUu3O5hjcfRFKxXtQ",
                "kty": "EC",
                "use": "sig",
                "x": "aruz0ufjUGuEQwg2Q3ewyy5DnEIWWmIEO5stN8MfUTA",
                "y": "dZnZMUOQAvzOD6q1f11PEho4-aX7nWdmive8zdxUbrA"
            },
            {
                "crv": "P-256",
                "kid": "CrXNdVSdrZ-lOToSPso6OlcZnP-Et4U9CzOIZOZPvLw",
                "kty": "EC",
                "use": "enc",
                "x": "AeI9gyN_hcFae8vO2HgaH7Fh-MVX1YXJdWg-T16g1kM",
                "y": "5ASt8rCvPWTKMAh6wvR8_-OEbl_9TTkkgAd7LXW8H48"
            }
        ]
    },
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61353/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#hJz8quGQztGsPTS8"
    ],
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0.282 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.283 RegistrationResponse {
    "client_id": "1cf701c5-bb2e-4d69-adad-23cde091db7b",
    "client_secret": "Fp9mcCQWBlQp",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "id": "1cf701c5-bb2e-4d69-adad-23cde091db7b",
    "jwks": {
        "keys": [
            {
                "e": "AQAB",
                "kid": "gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww",
                "kty": "RSA",
                "n": "pKXuY5tuT9ibmEcq4B6VRx3MafdSsajrOndAk5FjJFedlA6qSpdqDUr9wWUkNeO8h_efdLfg43CHXk3mH6Fp1t2gbHzBQ4-SzT3_X5tsdG2PPqvngem7f5NHO6Kefhq11Zk5q4-FyTL9FUQQW6ZANbrU7GifSAs82Ck20ciIvFdv7cPCphk_THMVv14aW5w0eKEXumgx4Bc7HrQFXQUHSze3dVAKg8hKHDIQOGUU0fkolEFmOC4Gb-G57RpBJryZxXqgdUdEG66xl1f37tqpYgaLViFDWDiI8S7BMVHEbGHN4-f_MD9f6gMduaxrL6a6SfyIW1So2VqtvlAyanesTw",
                "use": "enc"
            },
            {
                "e": "AQAB",
                "kid": "wt25OgyR_nzG3OoQ7daa2rL6-gMnFdfRzBjhUVPu8RQ",
                "kty": "RSA",
                "n": "1Z8lhYNb0tHZsVrzIQs-JetNCLIBWeOHXblcirxQgFLt6z4Rr-9vxPbEsrmRmZbPuuoL8nGehqOK11LAgqa1QfCR4TKxr2srlbTv4A4Gyf-suhO_KKt0JWv2q9olREZcoIE4FCwK0vuWTqD5q4qL_uqt_kHltzhdkJ4LySdCRCbxG1kcEcXoPNIhZERttqbZTIQviJxJ2HqC7CbwocmZMnbMAzP52bVX86vLxosmI-pqkG1RG8jMTZMhvc2GmYe6CfleW7bRxS0078sWDM_iACSQVOqLk5rcW_C-a61EYzNNN7BMw-VxFSDtoGgNgb6XGM6FTf9fkdJjIRL2VZAt0Q",
                "use": "sig"
            },
            {
                "crv": "P-256",
                "kid": "AZXCzT401BtqezIxAdHOEez1ApQUu3O5hjcfRFKxXtQ",
                "kty": "EC",
                "use": "sig",
                "x": "aruz0ufjUGuEQwg2Q3ewyy5DnEIWWmIEO5stN8MfUTA",
                "y": "dZnZMUOQAvzOD6q1f11PEho4-aX7nWdmive8zdxUbrA"
            },
            {
                "crv": "P-256",
                "kid": "CrXNdVSdrZ-lOToSPso6OlcZnP-Et4U9CzOIZOZPvLw",
                "kty": "EC",
                "use": "enc",
                "x": "AeI9gyN_hcFae8vO2HgaH7Fh-MVX1YXJdWg-T16g1kM",
                "y": "5ASt8rCvPWTKMAh6wvR8_-OEbl_9TTkkgAd7LXW8H48"
            }
        ]
    },
    "public": false,
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#hJz8quGQztGsPTS8"
    ],
    "response_types": [
        "code"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "none"
}
0.283 phase <--<-- 3 --- AsyncAuthn -->-->
0.284 AuthorizationRequest {
    "client_id": "1cf701c5-bb2e-4d69-adad-23cde091db7b",
    "nonce": "6VGUlP2kd4aEPc5j",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "pi2vuIJpsTHD6JyL"
}
0.284 redirect url https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=1cf701c5-bb2e-4d69-adad-23cde091db7b&state=pi2vuIJpsTHD6JyL&response_type=code&nonce=6VGUlP2kd4aEPc5j
0.284 redirect https://oidc-certification.ory.sh:8443/oauth2/auth?scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&client_id=1cf701c5-bb2e-4d69-adad-23cde091db7b&state=pi2vuIJpsTHD6JyL&response_type=code&nonce=6VGUlP2kd4aEPc5j
2.81 response Response URL with query part
2.81 response {'state': 'pi2vuIJpsTHD6JyL', 'scope': 'openid', 'code': 'tw9Ris3XV0JCPHlRK7ug2TGj4uJo8LXqgEzmCVEJzAI.o_QkF_2i10ONH3LPve8RadpDrzsr71tqcsz9chcNZ5g'}
2.81 response {'state': 'pi2vuIJpsTHD6JyL', 'scope': 'openid', 'code': 'tw9Ris3XV0JCPHlRK7ug2TGj4uJo8LXqgEzmCVEJzAI.o_QkF_2i10ONH3LPve8RadpDrzsr71tqcsz9chcNZ5g'}
2.811 AuthorizationResponse {
    "code": "tw9Ris3XV0JCPHlRK7ug2TGj4uJo8LXqgEzmCVEJzAI.o_QkF_2i10ONH3LPve8RadpDrzsr71tqcsz9chcNZ5g",
    "scope": "openid",
    "state": "pi2vuIJpsTHD6JyL"
}
2.811 phase <--<-- 4 --- AccessToken -->-->
2.811 --> request op_args: {'state': 'pi2vuIJpsTHD6JyL', 'authn_method': 'private_key_jwt'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb'}
2.811 do_access_token_request kwargs:{'request_args': {'grant_type': 'authorization_code', 'state': 'pi2vuIJpsTHD6JyL', 'code': 'tw9Ris3XV0JCPHlRK7ug2TGj4uJo8LXqgEzmCVEJzAI.o_QkF_2i10ONH3LPve8RadpDrzsr71tqcsz9chcNZ5g', 'redirect_uri': 'https://op.certification.openid.net:61353/authz_cb', 'client_id': '1cf701c5-bb2e-4d69-adad-23cde091db7b'}, 'state': 'pi2vuIJpsTHD6JyL', 'authn_method': 'private_key_jwt'}
2.811 AccessTokenRequest {
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiMWNmNzAxYzUtYmIyZS00ZDY5LWFkYWQtMjNjZGUwOTFkYjdiIiwgImF1ZCI6IFsiaHR0cHM6Ly9vaWRjLWNlcnRpZmljYXRpb24ub3J5LnNoOjg0NDMvb2F1dGgyL3Rva2VuIl0sICJzdWIiOiAiMWNmNzAxYzUtYmIyZS00ZDY5LWFkYWQtMjNjZGUwOTFkYjdiIiwgImlhdCI6IDE1Mjk3NTA2MTIsICJqdGkiOiAiZjhleElKek1GVTVYRkpMNFg3cVNOdjVSR3VaUGZYNTMiLCAiZXhwIjogMTUyOTc1MTIxMn0.c6JaBlLtyZLYG_c060vcz-q3nLmfZZ0V_rkydl1flR-V8IyuqNHw0b-rYXr82gqfJom7_rc0lRWuPD5cc58NUgrRZY9gELOHX6tqWJG4WtrL8Fmf_MJu3DWNG4Rr140Dv4unLOp8U1aYCutrwaD6zvXQtskgWC-qHIEul17C-u9DyewosQWKJI1vDWPqjK_G7iGHvOVIt2_VGlCLhZgLq_sQvkGIvIwLz7v_vBxIs11JKJbauGRKxsN4CO4JYr5oPNjWktD0IPLq7pF7gKU0Z5j0W7k9nw-c4FCgdv6Ct-2pZyKs0KfLjaB-8HDz6doAhd1EINspf_RiXnfq4My0dg",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "tw9Ris3XV0JCPHlRK7ug2TGj4uJo8LXqgEzmCVEJzAI.o_QkF_2i10ONH3LPve8RadpDrzsr71tqcsz9chcNZ5g",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "state": "pi2vuIJpsTHD6JyL"
}
2.817 request_url https://oidc-certification.ory.sh:8443/oauth2/token
2.817 request_http_args {'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2.817 request code=tw9Ris3XV0JCPHlRK7ug2TGj4uJo8LXqgEzmCVEJzAI.o_QkF_2i10ONH3LPve8RadpDrzsr71tqcsz9chcNZ5g&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61353%2Fauthz_cb&grant_type=authorization_code&state=pi2vuIJpsTHD6JyL&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiMWNmNzAxYzUtYmIyZS00ZDY5LWFkYWQtMjNjZGUwOTFkYjdiIiwgImF1ZCI6IFsiaHR0cHM6Ly9vaWRjLWNlcnRpZmlj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GJhci5jb20ifQ. ', 'token_type': 'bearer', 'expires_in': 3599, 'access_token': 'zzLwtd-HSt0GQh-4I5F17cyQjW96SalXqrKaIMvMeLk.K2wL8vzSg9ZYvghK0Cr38ftWnnYvPMs7p6oxv-MTQyk', 'scope': 'openid'}
3.066 AccessTokenResponse {
    "access_token": "zzLwtd-HSt0GQh-4I5F17cyQjW96SalXqrKaIMvMeLk.K2wL8vzSg9ZYvghK0Cr38ftWnnYvPMs7p6oxv-MTQyk",
    "expires_in": 3599,
    "id_token": {
        "aud": [
            "1cf701c5-bb2e-4d69-adad-23cde091db7b"
        ],
        "auth_time": 1529750592,
        "exp": 1529754212,
        "iat": 1529750612,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "d8f9b0be-2df5-4055-a717-d419c9f71ce8",
        "nonce": "6VGUlP2kd4aEPc5j",
        "rat": 1529750610,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "token_type": "bearer"
}
3.066 phase <--<-- 5 --- Done -->-->
3.066 end 
3.067 assertion VerifyResponse
3.067 condition verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3.067 condition Done: status=OK



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

Conditions

verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK



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

RESULT: PASSED
