libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 13f060db756123bff121dee2e24f741aa884d033
parent bde5eeee12ece275e824d2959f2591144c3d9da5
Author: Florian Dold <florian@dold.me>
Date:   Sun, 17 Jan 2021 00:27:53 +0100

disable authentication for now

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt @@ -232,8 +232,9 @@ private suspend fun talerTransfer(call: ApplicationCall) { val transferRequest = call.receive<TalerTransferRequest>() val amountObj = parseAmount(transferRequest.amount) val creditorObj = parsePayto(transferRequest.credit_account) - val opaque_row_id = transaction { - val exchangeUser = authenticateRequest(call.request) + val opaqueRowId = transaction { + // FIXME: re-enable authentication (https://bugs.gnunet.org/view.php?id=6703) + // val exchangeUser = authenticateRequest(call.request) val creditorData = parsePayto(transferRequest.credit_account) /** Checking the UID has the desired characteristics */ TalerRequestedPaymentEntity.find { @@ -282,7 +283,7 @@ private suspend fun talerTransfer(call: ApplicationCall) { * routine will send new PAIN.001 data to the bank; work in progress.. */ timestamp = GnunetTimestamp(System.currentTimeMillis()), - row_id = opaque_row_id + row_id = opaqueRowId ) ), ContentType.Application.Json