Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-Response-code+id_token+token
Test description: Request with response_type=code id_token token
Timestamp: 2018-06-23T10:59:17Z

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

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.075 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
0.076 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.076 phase <--<-- 2 --- Registration -->-->
0.076 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['code id_token token'], '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'], '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.077 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"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#F82L9kMHtSe00Kxd"
    ],
    "response_types": [
        "code id_token token"
    ]
}
0.268 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
0.269 RegistrationResponse {
    "client_id": "6ab0fc9e-3f79-40c2-bfc7-fb5251a4583a",
    "client_secret": "dRUROMsTISDc",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "id": "6ab0fc9e-3f79-40c2-bfc7-fb5251a4583a",
    "jwks_uri": "https://op.certification.openid.net:61353/static/jwks_61353.json",
    "public": false,
    "redirect_uris": [
        "https://op.certification.openid.net:61353/authz_cb"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#F82L9kMHtSe00Kxd"
    ],
    "response_types": [
        "code 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.269 phase <--<-- 3 --- AsyncAuthn -->-->
0.27 AuthorizationRequest {
    "client_id": "6ab0fc9e-3f79-40c2-bfc7-fb5251a4583a",
    "nonce": "UlBq8Wu0QYx6xzty",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "w29bqGDqx9jLjF1k"
}
0.27 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=6ab0fc9e-3f79-40c2-bfc7-fb5251a4583a&state=w29bqGDqx9jLjF1k&response_type=code+id_token+token&nonce=UlBq8Wu0QYx6xzty
0.27 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=6ab0fc9e-3f79-40c2-bfc7-fb5251a4583a&state=w29bqGDqx9jLjF1k&response_type=code+id_token+token&nonce=UlBq8Wu0QYx6xzty
2.594 http args {}
2.763 response URL with fragment
2.763 response access_token=Wggs557loevuQRouQYVcRoVlkXLXg3PcETv9zsdMO-Y.9nv80vYkYp1W5HFPSgsWwSvJaCcZiBmjk7hwaM4q92o&code=46VdmjRe6EmmkVGd6WVpmXJuJ0ojs80wUeQaGogmpmA.g2L8zGZZqYp4ZvYNaKofSSjhKJZ44EmLyllY8eHvEhM&expires_in=3599&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzplMjcyYTc1NS03YWUyLTQ5MGUtODJmNS02MmUwNjc4NjQxYjAiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoieGlKMmoxYkJUTERPa3VLS3REWnpHQSIsImF1ZCI6WyI2YWIwZmM5ZS0zZjc5LTQwYzItYmZjNy1mYjUyNTFhNDU4M2EiXSwiYXV0aF90aW1lIjoxNTI5NzUxNDA5LCJjX2hhc2giOiJ3eE5IMVVBWFA5SVFMaXY2LTAwdVpRIiwiZXhwIjoxNTI5NzU1MTU3LCJpYXQiOjE1Mjk3NTE1NTcsImlzcyI6Imh0dHBzOi8vb2lkYy1jZXJ0aWZpY2F0aW9uLm9yeS5zaDo4NDQzLyIsImp0aSI6ImRiYThlMGEyLWQzYmEtNDFkOC04MWVhLTlkN2RjYTRmZDZkNyIsIm5vbmNlIjoiVWxCcThXdTBRWXg2eHp0eSIsInJhdCI6MTUyOTc1MTU1NSwic3ViIjoiZm9vQGJhci5jb20ifQ. &scope=openid&state=w29bqGDqx9jLjF1k&token_type=bearer
2.763 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzplMjcyYTc1NS03YWUyLTQ5MGUtODJmNS02MmUwNjc4NjQxYjAiLCJ0eXAiOiJKV1QifQ.eyJhdF9oYXNoIjoieGlKMmoxYkJUTERPa3VLS3REWnpHQSIsImF1ZCI6WyI2YWIwZmM5ZS0zZjc5LTQwYzItYmZjNy1mYjUyNTFhNDU4M2EiXSwiYXV0aF90aW1lIjoxNTI5NzUxNDA5LCJjX2hhc2giOiJ3eE5IMVVBWFA5SVFMaXY2LTAwdVpRIiwiZXhwIjoxNTI5NzU1MTU3LCJpYXQiOjE1Mjk3NTE1NTcsImlzcyI6Imh0dHBzOi8vb2lkYy1jZXJ0aWZpY2F0aW9uLm9yeS5zaDo4NDQzLyIsImp0aSI6ImRiYThlMGEyLWQzYmEtNDFkOC04MWVhLTlkN2RjYTRmZDZkNyIsIm5vbmNlIjoiVWxCcThXdTBRWXg2eHp0eSIsInJhdCI6MTUyOTc1MTU1NSwic3ViIjoiZm9vQGJhci5jb20ifQ. ', 'scope': 'openid', 'code': '46VdmjRe6EmmkVGd6WVpmXJuJ0ojs80wUeQaGogmpmA.g2L8zGZZqYp4ZvYNaKofSSjhKJZ44EmLyllY8eHvEhM', 'access_token': 'Wggs557loevuQRouQYVcRoVlkXLXg3PcETv9zsdMO-Y.9nv80vYkYp1W5HFPSgsWwSvJaCcZiBmjk7hwaM4q92o', 'state': 'w29bqGDqx9jLjF1k', 'expires_in': 3599, 'token_type': 'bearer'}
2.894 AuthorizationResponse {
    "access_token": "Wggs557loevuQRouQYVcRoVlkXLXg3PcETv9zsdMO-Y.9nv80vYkYp1W5HFPSgsWwSvJaCcZiBmjk7hwaM4q92o",
    "code": "46VdmjRe6EmmkVGd6WVpmXJuJ0ojs80wUeQaGogmpmA.g2L8zGZZqYp4ZvYNaKofSSjhKJZ44EmLyllY8eHvEhM",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "xiJ2j1bBTLDOkuKKtDZzGA",
        "aud": [
            "6ab0fc9e-3f79-40c2-bfc7-fb5251a4583a"
        ],
        "auth_time": 1529751409,
        "c_hash": "wxNH1UAXP9IQLiv6-00uZQ",
        "exp": 1529755157,
        "iat": 1529751557,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "dba8e0a2-d3ba-41d8-81ea-9d7dca4fd6d7",
        "nonce": "UlBq8Wu0QYx6xzty",
        "rat": 1529751555,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "state": "w29bqGDqx9jLjF1k",
    "token_type": "bearer"
}
2.894 phase <--<-- 4 --- Done -->-->
2.894 end 
2.895 assertion VerifyAuthnResponse
2.895 condition verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
2.895 condition Done: status=OK



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

Conditions

verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
Done: status=OK



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

RESULT: PASSED
