taldir.conf.example (1705B)
1 [taldir] 2 production = false 3 footer = web/templates/footer.html 4 base_url = http://localhost:11000 5 challenge_bytes = 16 6 validation_initiation_max = 3 7 solution_attempt_max = 3 8 validation_timeframe = 5m 9 solution_attempt_timeframe = 1h 10 monthly_fee = KUDOS:0 11 purge_mappings_on_startup_dangerous = false 12 validation_expiration = 24h 13 validation_landing = web/templates/validation_landing.html 14 landing_page = web/templates/landing.html 15 lookup_result_page = web/templates/lookup_result.html 16 salt = ChangeMe 17 18 [taldir-pq] 19 connection_string = postgres:///taler-directory?host=/var/run/postgresql 20 21 [taldir-validator-email] 22 type = command 23 enabled = true 24 command = test 25 valid_alias_regex='^\S+@\S+\.\S+$' 26 27 [taldir-validator-phone] 28 type = command 29 enabled = true 30 command = test 31 32 [taldir-validator-oidctest] 33 type = oidc 34 enabled = false 35 authorization_endpoint=http://127.0.0.1:9400/oauth2/authorize 36 token_endpoint=http://127.0.0.1:9400/oauth2/token 37 userinfo_endpoint=http://127.0.0.1:9400/userinfo 38 client_id=test 39 client_secret=testsecret 40 scope=openid email 41 valid_alias_regex='^\S+@\S+\.\S+$' 42 alias_claim=sub 43 44 [taldir-validator-mastodon] 45 type = oidc 46 enabled = true 47 authorization_endpoint=https://mastodon.social/oauth/authorize 48 token_endpoint=https://mastodon.social/oauth/token 49 userinfo_endpoint=https://mastodon.social/oauth/userinfo 50 client_id=test 51 client_secret=testsecret 52 scope=profile 53 valid_alias_regex='^\S+$' 54 alias_claim="preferred_username" 55 56