Test tool version: 2.1.3
Issuer: https://oidc-certification.ory.sh:8443/
Profile: []
Test ID: OP-Registration-tos_uri
Test description: Registration with tos_uri
Timestamp: 2018-06-23T11:27:19Z

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

Trace output

0.0 phase <--<-- 0 --- Note -->-->
1.594 phase <--<-- 1 --- Webfinger -->-->
1.595 not expected to do WebFinger
1.595 phase <--<-- 2 --- Discovery -->-->
1.595 provider_config kwargs:{'issuer': 'https://oidc-certification.ory.sh:8443/'}
1.708 http response url:https://oidc-certification.ory.sh:8443/.well-known/openid-configuration status_code:200
1.709 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"
}
1.709 phase <--<-- 3 --- Registration -->-->
1.709 register kwargs:{'application_name': 'OIC test tool', 'response_types': ['id_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': ['implicit'], 'application_type': 'web', 'tos_uri': 'https://op.certification.openid.net:61353/static/tos.html', 'url': 'https://oidc-certification.ory.sh:8443/clients'}
1.71 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"
    ],
    "request_uris": [
        "https://op.certification.openid.net:61353/requests/e3ecc141f5419bd33d25d760861d32323144d583feaf26eb1b5cbf20147608b9#N9ykU5l9adMGbSbA"
    ],
    "response_types": [
        "id_token"
    ],
    "tos_uri": "https://op.certification.openid.net:61353/static/tos.html"
}
1.864 http response url:https://oidc-certification.ory.sh:8443/clients status_code:201
1.865 RegistrationResponse {
    "client_id": "4ac92663-2547-4661-976d-f2aa2c6d8059",
    "client_secret": "lqbnPdYiAPjX",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "id": "4ac92663-2547-4661-976d-f2aa2c6d8059",
    "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#N9ykU5l9adMGbSbA"
    ],
    "response_types": [
        "id_token"
    ],
    "scope": "openid offline offline_access profile email address phone",
    "token_endpoint_auth_method": "client_secret_basic",
    "tos_uri": "https://op.certification.openid.net:61353/static/tos.html",
    "userinfo_signed_response_alg": "none"
}
1.865 phase <--<-- 4 --- AsyncAuthn -->-->
1.866 AuthorizationRequest {
    "client_id": "4ac92663-2547-4661-976d-f2aa2c6d8059",
    "nonce": "yGmMqghpluqW1AYU",
    "redirect_uri": "https://op.certification.openid.net:61353/authz_cb",
    "response_type": "id_token",
    "scope": "openid",
    "state": "OOG78CudGb4aOV91"
}
1.866 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=4ac92663-2547-4661-976d-f2aa2c6d8059&state=OOG78CudGb4aOV91&response_type=id_token&nonce=yGmMqghpluqW1AYU
1.866 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=4ac92663-2547-4661-976d-f2aa2c6d8059&state=OOG78CudGb4aOV91&response_type=id_token&nonce=yGmMqghpluqW1AYU
4.631 http args {}
4.803 response URL with fragment
4.803 response id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowNWMyNDc4ZC02M2VkLTQ3YzgtYWQ5Mi03NTE4MWE1NjdmYTAiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiNGFjOTI2NjMtMjU0Ny00NjYxLTk3NmQtZjJhYTJjNmQ4MDU5Il0sImF1dGhfdGltZSI6MTUyOTc1MzEzNiwiZXhwIjoxNTI5NzU2ODM5LCJpYXQiOjE1Mjk3NTMyMzksImlzcyI6Imh0dHBzOi8vb2lkYy1jZXJ0aWZpY2F0aW9uLm9yeS5zaDo4NDQzLyIsImp0aSI6IjU2MDU3Y2VjLWZlMTYtNDhmMy04OWE4LWU2M2UyNjJhZjZmYyIsIm5vbmNlIjoieUdtTXFnaHBsdXFXMUFZVSIsInJhdCI6MTUyOTc1MzIzNywic3ViIjoiZm9vQGJhci5jb20ifQ. &state=OOG78CudGb4aOV91
4.804 response {'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpYzowNWMyNDc4ZC02M2VkLTQ3YzgtYWQ5Mi03NTE4MWE1NjdmYTAiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOlsiNGFjOTI2NjMtMjU0Ny00NjYxLTk3NmQtZjJhYTJjNmQ4MDU5Il0sImF1dGhfdGltZSI6MTUyOTc1MzEzNiwiZXhwIjoxNTI5NzU2ODM5LCJpYXQiOjE1Mjk3NTMyMzksImlzcyI6Imh0dHBzOi8vb2lkYy1jZXJ0aWZpY2F0aW9uLm9yeS5zaDo4NDQzLyIsImp0aSI6IjU2MDU3Y2VjLWZlMTYtNDhmMy04OWE4LWU2M2UyNjJhZjZmYyIsIm5vbmNlIjoieUdtTXFnaHBsdXFXMUFZVSIsInJhdCI6MTUyOTc1MzIzNywic3ViIjoiZm9vQGJhci5jb20ifQ. ', 'state': 'OOG78CudGb4aOV91'}
4.919 AuthorizationResponse {
    "id_token": {
        "aud": [
            "4ac92663-2547-4661-976d-f2aa2c6d8059"
        ],
        "auth_time": 1529753136,
        "exp": 1529756839,
        "iat": 1529753239,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "56057cec-fe16-48f3-89a8-e63e262af6fc",
        "nonce": "yGmMqghpluqW1AYU",
        "rat": 1529753237,
        "sub": "foo@bar.com"
    },
    "state": "OOG78CudGb4aOV91"
}
4.919 phase <--<-- 5 --- Done -->-->
4.919 end 
4.92 assertion VerifyAuthnResponse
4.92 condition verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
4.92 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
