An opinionated Supabase proxy
- Reverse proxy to the official Supabase endpoint, compatible with the official client
- Additional client logging if needed
- Information redaction post-logging, pre-proxing if needed
- Set JWT token in a long-term
httpOnly
cookie (more secure auth approach for browser-side) - Cookie to auth header translation for the reverse proxy
This proxy is meant to be used with the official instance, not self-hosted options
- Update
config.js
- Start the gateway proxy with
npm start
/proxy
- Reverse proxy endpoint/auth/signup
- Create a user with email and password/auth/signin
- Signin and return a longterm JWT cookie
The Unlicense