Skip to content

kamikazechaser/supabase-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supabase Proxy

An opinionated Supabase proxy

What can it do?

  • 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

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

About

An opinionated Supabase proxy

Topics

Resources

License

Stars

Watchers

Forks