summaryrefslogtreecommitdiff
path: root/src/exchange/exchange.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-14 11:47:45 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-14 11:47:45 +0200
commit1b119edd6225567419add05e0a92170ebfa457df (patch)
treebe0ad631f6bfd03badcb945ae8c86735d69540d8 /src/exchange/exchange.conf
parentacbadd5c6e98282c4c4d568942b4c36c825c3dad (diff)
downloadexchange-1b119edd6225567419add05e0a92170ebfa457df.tar.gz
exchange-1b119edd6225567419add05e0a92170ebfa457df.tar.bz2
exchange-1b119edd6225567419add05e0a92170ebfa457df.zip
implement KYC options
Diffstat (limited to 'src/exchange/exchange.conf')
-rw-r--r--src/exchange/exchange.conf17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/exchange/exchange.conf b/src/exchange/exchange.conf
index c41150427..2dd934f4e 100644
--- a/src/exchange/exchange.conf
+++ b/src/exchange/exchange.conf
@@ -77,9 +77,24 @@ TERMS_DIR = $DATADIR/exchange/tos/
# Etag / filename for the terms of service.
TERMS_ETAG = 0
-
# Directory with our privacy policy.
PRIVACY_DIR = $DATADIR/exchange/pp/
# Etag / filename for the privacy policy.
PRIVACY_ETAG = 0
+
+# Set to NONE to disable KYC checks.
+# Set to "OAUTH2" to use OAuth 2.0 for KYC authorization.
+KYC_MODE = NONE
+
+
+[exchange-kyc-oauth2]
+
+# URL of the OAuth endpoint for KYC checks
+# KYC_OAUTH2_URL =
+
+# KYC Oauth client ID.
+# KYC_OAUTH2_CLIENT_ID =
+
+# KYC Client secret used to obtain access tokens.
+# KYC_OAUTH2_CLIENT_SECRET =