aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-02-14 15:27:22 +0100
committerChristian Grothoff <christian@grothoff.org>2024-02-14 15:27:22 +0100
commit303606b7cebab524bd420859c985d4d3cc7ccd62 (patch)
treee8bafbd106892f38c42d8e4adbebee3da500a54b /contrib
parentefcb6ef34bb343d77379ea8bf2b7ee97f7cdda3f (diff)
downloadexchange-303606b7cebab524bd420859c985d4d3cc7ccd62.tar.xz
add logic to handle redirection with authentication failure statusv0.9.5-dev.1
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am.in1
-rw-r--r--contrib/oauth2-authentication-failure.en.must16
2 files changed, 17 insertions, 0 deletions
diff --git a/contrib/Makefile.am.in b/contrib/Makefile.am.in
index 828e2913a..268e423b0 100644
--- a/contrib/Makefile.am.in
+++ b/contrib/Makefile.am.in
@@ -11,6 +11,7 @@ dist_tmplpkgdata_DATA = \
kyc-proof-internal-error.en.must \
kyc-proof-logic-failure.en.must \
kyc-proof-target-unknown.en.must \
+ oauth2-authentication-failure.en.must \
oauth2-authorization-failure.en.must \
oauth2-authorization-failure-malformed.en.must \
oauth2-bad-request.en.must \
diff --git a/contrib/oauth2-authentication-failure.en.must b/contrib/oauth2-authentication-failure.en.must
new file mode 100644
index 000000000..537423269
--- /dev/null
+++ b/contrib/oauth2-authentication-failure.en.must
@@ -0,0 +1,16 @@
+<html>
+<head>
+<title>403: Authentication by KYC server failed</title>
+</head>
+<body>
+ You failed the authentication check.
+ The transaction remains blocked.
+ Please obtain proper credentials and try again to proceed.
+<pre>
+<!-- as provided by OAuth2.0 server --> {{ error }}:
+<!-- optional, as provided by OAuth2.0 server --> {{ error_description }}
+
+<!-- optional link (render as link if present!), as provided by OAuth2.0 server --> {{ error_uri }}
+</pre>
+</body>
+</html>