commit 255190468b6fb1ac1da9e19eb7deb18b41812d26
parent f5c54aa4599b745acba075c817622243993cbd29
Author: Florian Dold <florian@dold.me>
Date: Sun, 29 Aug 2021 23:58:39 +0200
anastasis auth config
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate
@@ -270,6 +270,8 @@ def main(currency, envname, outdir, exchange_pub, frontends_apitoken):
ac.cfg_put("stasis-postgres", "config", f"postgres:///taler{envname}")
ac.cfg_put("anastasis-merchant-backend", "payment_backend_url", urls["merchant_backend"] + "instances/anastasis/")
ac.cfg_put("anastasis-merchant-backend", "api_key", f"Bearer {frontends_apitoken}")
+ ac.cfg_put("authorization-question", "cost", "{currency}:0")
+ ac.cfg_put("authorization-question", "enabled", "yes")
config_files.append(ac)
assert 0 < len(config_files)