SupabaseS
Supabase6mo ago
wrux

Web3 auth with local Supabase Docker container

I'm working on a webapp with Web3 authentication only and until now have been using the hosted Postgres. I want to now setup a local Supabase container so I can work more efficiently and seed the database etc.

Is there any plans to support Web3 auth on local docker containers? Or is there any way to allow this? Chat GPT says it's only an experimental feature so not included in core yet.

If I replace all auth config in my config.toml file with the following, then the container fails to launch.

[auth]
enabled = true
site_url = "http://127.0.0.1:3000"
additional_redirect_urls = ["https://127.0.0.1:3000"]
jwt_expiry = 3600
enable_refresh_token_rotation = true
refresh_token_reuse_interval = 10

[auth.rate_limit]
web3 = 30

[auth.captcha]
enabled = true
provider = "hcaptcha"                                 # or other supported providers
secret = "0x0000000000000000000000000000000000000000"

[auth.web3.solana]
enabled = true


Any ideas here other than just using the hosted Supabase?
Was this page helpful?