mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Mark redeem-code as verify_jwt=false in local configuration, matching its intentional unauthenticated email-and-code flow and production deployment settings.
54 lines
1.0 KiB
TOML
Executable File
54 lines
1.0 KiB
TOML
Executable File
[api]
|
|
enabled = true
|
|
port = 54321
|
|
schemas = ["public", "graphql_public"]
|
|
extra_search_path = ["public", "extensions"]
|
|
max_rows = 1000
|
|
|
|
[db]
|
|
port = 54322
|
|
shadow_port = 54320
|
|
major_version = 17
|
|
|
|
[studio]
|
|
enabled = true
|
|
port = 54323
|
|
api_url = "http://localhost"
|
|
|
|
[auth]
|
|
enabled = true
|
|
site_url = "exp://localhost:8081"
|
|
additional_redirect_urls = ["sauci://auth/callback"]
|
|
jwt_expiry = 3600
|
|
enable_refresh_token_rotation = true
|
|
refresh_token_reuse_interval = 10
|
|
enable_signup = true
|
|
|
|
[auth.external.google]
|
|
enabled = true
|
|
client_id = "env(GOOGLE_CLIENT_ID)"
|
|
secret = "env(GOOGLE_CLIENT_SECRET)"
|
|
|
|
[auth.external.apple]
|
|
enabled = true
|
|
client_id = "env(APPLE_CLIENT_ID)"
|
|
secret = "env(APPLE_CLIENT_SECRET)"
|
|
|
|
[auth.email]
|
|
enable_signup = true
|
|
double_confirm_changes = true
|
|
enable_confirmations = false
|
|
|
|
[auth.sms]
|
|
enable_signup = false
|
|
enable_confirmations = false
|
|
|
|
[functions.revenuecat-webhook]
|
|
verify_jwt = false
|
|
|
|
[functions.sync-subscription]
|
|
verify_jwt = false
|
|
|
|
[functions.redeem-code]
|
|
verify_jwt = false
|