diff --git a/src/exchange/exchange.conf b/src/exchange/exchange.conf index 391dc9344..4d353acec 100644 --- a/src/exchange/exchange.conf +++ b/src/exchange/exchange.conf @@ -99,6 +99,9 @@ KYC_MODE = NONE # URL of the OAuth endpoint for KYC checks # KYC_OAUTH2_URL = +# URL of the "information" endpoint for KYC checks +# KYC_INFO_URL = + # KYC Oauth client ID. # KYC_OAUTH2_CLIENT_ID = diff --git a/src/testing/test_kyc_api.conf b/src/testing/test_kyc_api.conf index ebc2016b6..8ca6b74b8 100644 --- a/src/testing/test_kyc_api.conf +++ b/src/testing/test_kyc_api.conf @@ -56,7 +56,8 @@ KYC_WITHDRAW_LIMIT = EUR:8 [exchange-kyc-oauth2] -KYC_OAUTH2_URL = http://localhost:6666/ +KYC_OAUTH2_URL = http://localhost:6666/oauth/v2/login +KYC_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/