aboutsummaryrefslogtreecommitdiff
path: root/src/kyclogic/kyclogic-oauth2.conf
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-01-27 10:12:08 +0100
committerChristian Grothoff <grothoff@gnunet.org>2023-01-27 10:12:08 +0100
commit7e8e2f43178139b35f726dd0584ef629e1853af8 (patch)
tree080cc46d4bc4a62493c42d3132df7d539b15c4bb /src/kyclogic/kyclogic-oauth2.conf
parentf199b45e52e0cc66b75c4fc7243a11c06cf6e058 (diff)
parent10cf3b3b65c89b3304a4d4f40c4b1a7eb5e47d14 (diff)
Merge branch 'master' of git+ssh://git.taler.net/exchange
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 7ccf81c0..d3df585d 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