diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-02-11 17:06:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-02-11 17:06:04 +0100 |
commit | b13255de935bcf8869669e3b4a134894c9bd6c83 (patch) | |
tree | fb498ce44225f3d60772125a6fcd449fe59a3a9a /contrib | |
parent | d0e65570d5c6404c7a7c219f8082110269df978e (diff) |
this should fix #8056 (testing required)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Makefile.am.in | 12 | ||||
-rw-r--r-- | contrib/kyc-proof-already-done.en.must | 9 | ||||
-rw-r--r-- | contrib/kyc-proof-bad-request.en.must | 15 | ||||
-rw-r--r-- | contrib/kyc-proof-endpoint-unknown.en.must | 15 | ||||
-rw-r--r-- | contrib/kyc-proof-internal-error.en.must | 16 | ||||
-rw-r--r-- | contrib/kyc-proof-logic-failure.en.must | 15 | ||||
-rw-r--r-- | contrib/kyc-proof-target-unknown.en.must | 15 | ||||
-rw-r--r-- | contrib/kycaid-invalid-request.en.must | 12 | ||||
-rw-r--r-- | contrib/oauth2-authorization-failure-malformed.en.must | 13 | ||||
-rw-r--r-- | contrib/oauth2-authorization-failure.en.must | 12 | ||||
-rw-r--r-- | contrib/oauth2-bad-request.en.must | 15 | ||||
-rw-r--r-- | contrib/oauth2-conversion-failure.en.must | 28 | ||||
-rw-r--r-- | contrib/oauth2-provider-failure.en.must | 22 |
13 files changed, 199 insertions, 0 deletions
diff --git a/contrib/Makefile.am.in b/contrib/Makefile.am.in index 5f9c93d5e..e31f4274f 100644 --- a/contrib/Makefile.am.in +++ b/contrib/Makefile.am.in @@ -4,6 +4,18 @@ SUBDIRS = . tmplpkgdatadir = $(datadir)/taler/exchange/templates/ dist_tmplpkgdata_DATA = \ + kycaid-invalid-request.en.must \ + kyc-proof-already-done.en.must \ + kyc-proof-bad-request.en.must \ + kyc-proof-endpoint-unknown.en.must \ + kyc-proof-internal-error.en.must \ + kyc-proof-logic-failure.en.must \ + kyc-proof-target-unknown.en.must \ + oauth-authorization-failure.en.must \ + oauth-authorization-failure-malformed.en.must \ + oauth-bad-request.en.must \ + oauth-conversion-failure.en.must \ + oauth-provider-failure.en.must \ persona-exchange-unauthorized.en.must \ persona-load-failure.en.must \ persona-exchange-unpaid.en.must \ diff --git a/contrib/kyc-proof-already-done.en.must b/contrib/kyc-proof-already-done.en.must new file mode 100644 index 000000000..c676aa931 --- /dev/null +++ b/contrib/kyc-proof-already-done.en.must @@ -0,0 +1,9 @@ +<html> +<head> +<title>200: KYC already completed</title> +</head> +<body> + The KYC process is already completed. + There is nothing left to do here. +</body> +</html> diff --git a/contrib/kyc-proof-bad-request.en.must b/contrib/kyc-proof-bad-request.en.must new file mode 100644 index 000000000..f55516873 --- /dev/null +++ b/contrib/kyc-proof-bad-request.en.must @@ -0,0 +1,15 @@ +<html> +<head> +<title>400: Malformed client request</title> +</head> +<body> +The client's request was malformed. +<pre> +<!-- Taler error code --> {{ code }}: +<!-- GANA EC hint --> {{ hint }} +</pre> +<p> +<!-- optional human-readable message --> {{ message }} +</p> +</body> +</html> diff --git a/contrib/kyc-proof-endpoint-unknown.en.must b/contrib/kyc-proof-endpoint-unknown.en.must new file mode 100644 index 000000000..275f42380 --- /dev/null +++ b/contrib/kyc-proof-endpoint-unknown.en.must @@ -0,0 +1,15 @@ +<html> +<head> +<title>404: Endpoint unknown</title> +</head> +<body> +The given URL does not match any supported endpoint. +<pre> +<!-- Taler error code --> {{ code }}: +<!-- GANA EC hint --> {{ hint }} +</pre> +<p> +<!-- optional human-readable message --> {{ message }} +</p> +</body> +</html> diff --git a/contrib/kyc-proof-internal-error.en.must b/contrib/kyc-proof-internal-error.en.must new file mode 100644 index 000000000..ab7845e0d --- /dev/null +++ b/contrib/kyc-proof-internal-error.en.must @@ -0,0 +1,16 @@ +<html> +<head> +<title>500: Internal server error</title> +</head> +<body> + The server experienced an internal error handling + the request. +<pre> +<!-- Taler error code --> {{ code }}: +<!-- GANA EC hint --> {{ hint }} +</pre> +<p> +<!-- optional human-readable message --> {{ message }} +</p> +</body> +</html> diff --git a/contrib/kyc-proof-logic-failure.en.must b/contrib/kyc-proof-logic-failure.en.must new file mode 100644 index 000000000..f7f058500 --- /dev/null +++ b/contrib/kyc-proof-logic-failure.en.must @@ -0,0 +1,15 @@ +<html> +<head> +<title>500: Internal logic failure</title> +</head> +<body> + We had an internal error processing the KYC request. +<pre> +<!-- Taler Error code --> {{ code }}: +<!-- Taler EC hint --> {{ hint }} +</pre> +<p> + <!-- human-readable message --> {{ message}} +</p> +</body> +</html> diff --git a/contrib/kyc-proof-target-unknown.en.must b/contrib/kyc-proof-target-unknown.en.must new file mode 100644 index 000000000..1a698506f --- /dev/null +++ b/contrib/kyc-proof-target-unknown.en.must @@ -0,0 +1,15 @@ +<html> +<head> +<title>404: KYC request target unknown</title> +</head> +<body> +We could not identify the KYC operation requested. +<pre> +<!-- Taler error code --> {{ code }}: +<!-- GANA EC hint --> {{ hint }} +</pre> +<p> +<!-- optional human-readable message --> {{ message }} +</p> +</body> +</html> diff --git a/contrib/kycaid-invalid-request.en.must b/contrib/kycaid-invalid-request.en.must new file mode 100644 index 000000000..c33e3883f --- /dev/null +++ b/contrib/kycaid-invalid-request.en.must @@ -0,0 +1,12 @@ +<html> +<head> +<title>400: Invalid endpoint for KYCaid</title> +</head> +<body> +This endpoint is not defined for the KYCaid plugin. +<pre> +<!-- Taler error code --> {{ code }}: +<!-- GANA string for EC --> {{ hint }} +</pre> +</body> +</html> diff --git a/contrib/oauth2-authorization-failure-malformed.en.must b/contrib/oauth2-authorization-failure-malformed.en.must new file mode 100644 index 000000000..6f7552eae --- /dev/null +++ b/contrib/oauth2-authorization-failure-malformed.en.must @@ -0,0 +1,13 @@ +<html> +<head> +<title>502: OAuth 2.0 service returned malformed response</title> +</head> +<body> + The KYC backend returned an authorization failure, + but additionally provided a malformed error response. + <pre> +<!-- Should we output potentially sensitive data? --> {{ debug }} +<!-- Optional: server response --> {{ server_response }} +</pre> +</body> +</html> diff --git a/contrib/oauth2-authorization-failure.en.must b/contrib/oauth2-authorization-failure.en.must new file mode 100644 index 000000000..c184d10d8 --- /dev/null +++ b/contrib/oauth2-authorization-failure.en.must @@ -0,0 +1,12 @@ +<html> +<head> +<title>403: KYC server refused access</title> +</head> +<body> +The KYC backend refused the authorization code used by the exchange operator. Please inform the exchange operator about this failure. +<pre> +<!-- as provided by OAuth2.0 server --> {{ error }}: +<!-- as provided by OAuth2.0 server --> {{ error_description }} +</pre> +</body> +</html> diff --git a/contrib/oauth2-bad-request.en.must b/contrib/oauth2-bad-request.en.must new file mode 100644 index 000000000..f55516873 --- /dev/null +++ b/contrib/oauth2-bad-request.en.must @@ -0,0 +1,15 @@ +<html> +<head> +<title>400: Malformed client request</title> +</head> +<body> +The client's request was malformed. +<pre> +<!-- Taler error code --> {{ code }}: +<!-- GANA EC hint --> {{ hint }} +</pre> +<p> +<!-- optional human-readable message --> {{ message }} +</p> +</body> +</html> diff --git a/contrib/oauth2-conversion-failure.en.must b/contrib/oauth2-conversion-failure.en.must new file mode 100644 index 000000000..e117f5de6 --- /dev/null +++ b/contrib/oauth2-conversion-failure.en.must @@ -0,0 +1,28 @@ +<html> +<head> +<title>502: Failed to convert KYC data into internal format</title> +</head> +<body> + The KYC backend returned a response which we then failed + to convert into our internal format. +<pre> +<!-- Taler Error code --> {{ code }}: +<!-- Taler EC hint --> {{ hint }} +</pre> +<p> + <!-- human-readable message --> {{ message}} +</p> +<p> + Converter command used was: "{{ converter }}" +</p> +<p> + Converter JSON output: +<pre> + <!-- true if we are in debug mode --> {{ debug }} + <!-- optional: attributes returned by script + (note: may contain user's private information) --> {{ attributes }} +</pre> +</p> +</pre> +</body> +</html> diff --git a/contrib/oauth2-provider-failure.en.must b/contrib/oauth2-provider-failure.en.must new file mode 100644 index 000000000..d4c3585bf --- /dev/null +++ b/contrib/oauth2-provider-failure.en.must @@ -0,0 +1,22 @@ +<html> +<head> +<title>502: KYC provider had an internal error</title> +</head> +<body> +The KYC OAuth2 backend had an internal error. +<pre> +<!-- taler error code --> {{ code }}: +<!-- GANA hint for EC --> {{ hint }} +</pre> +<p> + <!-- human readable message with more specifics --> + {{ message }} +</p> +<pre> + <!-- true if we are in debug mode --> {{ debug }} + <!-- optional: full response from OAuth provider; + may contain private information! --> + {{ server_response }} +</p> +</body> +</html> |