Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamikazechaser/supabase-proxy
An opinionated Supabase proxy
https://github.com/kamikazechaser/supabase-proxy
supabase
Last synced: 20 days ago
JSON representation
An opinionated Supabase proxy
- Host: GitHub
- URL: https://github.com/kamikazechaser/supabase-proxy
- Owner: kamikazechaser
- License: unlicense
- Created: 2020-12-27T19:34:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T15:15:55.000Z (about 4 years ago)
- Last Synced: 2024-11-23T08:25:41.637Z (3 months ago)
- Topics: supabase
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Supabase Proxy
> An opinionated Supabase proxy
## What can it do?
* [x] Reverse proxy to the official Supabase endpoint, compatible with the official client
* [x] Additional client logging if needed
* [x] Information redaction post-logging, pre-proxing if needed
* [x] Set JWT token in a long-term `httpOnly` cookie (more secure auth approach for browser-side)
* [x] Cookie to auth header translation for the reverse proxy
## Usage> 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`## Endpoints
* `/proxy` - Reverse proxy endpoint
* `/auth/signup` - Create a user with email and password
* `/auth/signin` - Signin and return a longterm JWT cookie## License
The Unlicense