supabase-rb-rb

Supabase Rails (supabase-rails)

supabase-rails is a Supabase integration for Ruby on Rails — supabase-rb on Rails, packaged as a Railtie with Rails Supabase auth (sign-in, sign-up, OAuth, password reset, OTP), generators, view templates, and an encrypted-cookie session store.

supabase-rails is the Ruby on Rails integration for Supabasesupabase-rb on Rails, packaged as a Railtie with built-in Rails Supabase auth. It wires the supabase-rb client into Rails, ships a drop-in Authentication concern with controllers, views, and generators for sign-in, sign-up, OAuth, password reset, and OTP, and provides an encrypted-cookie session store so browser sessions Just Work without a separate user table.

Use this Supabase Rails gem when you want first-party Rails Supabase auth without bolting supabase-js onto the front end, or when your Rails-8 app already expects the bin/rails generate authentication shape and you want Supabase as the identity provider behind it.

Start here

Explore the reference

Project

On this page