aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic/kyclogic-oauth2.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-22 21:51:46 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-22 21:51:46 +0100
commita273b176da448cd27374acb94feee22c22dd8527 (patch)
tree3c19b5f6edcba35f4ed8b06214a2db59d9923434 /src/kyclogic/kyclogic-oauth2.conf
parentc2eee251c2eda2ce544a808d77a9a5615a2e7c34 (diff)
downloadexchange-a273b176da448cd27374acb94feee22c22dd8527.tar.gz
exchange-a273b176da448cd27374acb94feee22c22dd8527.tar.bz2
exchange-a273b176da448cd27374acb94feee22c22dd8527.zip
-towards storing KYC attribute data
Diffstat (limited to 'src/kyclogic/kyclogic-oauth2.conf')
-rw-r--r--src/kyclogic/kyclogic-oauth2.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kyclogic/kyclogic-oauth2.conf b/src/kyclogic/kyclogic-oauth2.conf
index 7ccf81c0d..d3df585d8 100644
--- a/src/kyclogic/kyclogic-oauth2.conf
+++ b/src/kyclogic/kyclogic-oauth2.conf
@@ -25,3 +25,11 @@ KYC_OAUTH2_POST_URL = http://example.com/thank-you
# For authentication to the OAuth2.0 service
KYC_OAUTH2_CLIENT_ID = testcase
KYC_OAUTH2_CLIENT_SECRET = password
+
+# Mustach template that converts OAuth2.0 data about the user
+# into GNU Taler standardized attribute data.
+#
+# This is just an example, details will depend on the
+# provider!
+#
+KYC_ATTRIBUTE_TEMPLATE = "{"fullname":"{{first_name}} {{last_name}}","phone":"{{phone}}"}" \ No newline at end of file