exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 012973ca977179e2d4f801aa06c77ca9052c5990
parent 488e2976117fd986713ea9f31ef62d1c20d58415
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 26 Jul 2024 09:22:06 +0200

complete config

Diffstat:
Msrc/exchange/taler-exchange-httpd_common_kyc.c | 2+-
Msrc/testing/test_exchange_api.conf | 2++
Msrc/testing/test_exchange_api_age_restriction.conf | 2++
Msrc/testing/test_kyc_api.conf | 6++----
4 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2023 Taler Systems SA + Copyright (C) 2023, 2024 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software diff --git a/src/testing/test_exchange_api.conf b/src/testing/test_exchange_api.conf @@ -120,6 +120,8 @@ REQUIRES = FALLBACK = manual-freeze # This check runs on oauth2 PROVIDER_ID = test-oauth2 +# Outputs from this check +OUTPUTS = full_name birthdate # This is the "default" setting for an account if # it has not yet triggered anything. diff --git a/src/testing/test_exchange_api_age_restriction.conf b/src/testing/test_exchange_api_age_restriction.conf @@ -102,6 +102,8 @@ REQUIRES = FALLBACK = manual-freeze # This check runs on oauth2 PROVIDER_ID = test-oauth2 +# Outputs from this check +OUTPUTS = full_name birthdate # This is the "default" setting for an account if # it has not yet triggered anything. diff --git a/src/testing/test_kyc_api.conf b/src/testing/test_kyc_api.conf @@ -5,8 +5,6 @@ [kyc-provider-test-oauth2] LOGIC = oauth2 -USER_TYPE = INDIVIDUAL -PROVIDED_CHECKS = DUMMY KYC_OAUTH2_VALIDITY = forever KYC_OAUTH2_TOKEN_URL = http://localhost:6666/oauth/v2/token KYC_OAUTH2_AUTHORIZE_URL = http://localhost:6666/oauth/v2/login @@ -14,9 +12,9 @@ KYC_OAUTH2_INFO_URL = http://localhost:6666/api/user/me KYC_OAUTH2_CLIENT_ID = taler-exchange KYC_OAUTH2_CLIENT_SECRET = exchange-secret KYC_OAUTH2_POST_URL = http://example.com/ -CONVERTER = cat KYC_OAUTH2_CONVERTER_HELPER = taler-exchange-kyc-oauth2-test-converter.sh -# "{"full_name":"{{last_name}}, {{first_name}}"}" +# Outputs from this check +OUTPUTS = full_name birthdate [kyc-legitimization-balance-high] OPERATION_TYPE = BALANCE