Skip to content

A simple user invitation system built with Rails 8's authentication.

Notifications You must be signed in to change notification settings

sofmeireles/rails8-invitations

Repository files navigation

Rails 8 User Invitations Demo

A simple user invitation system built with Rails 8's native authentication.

What it does

  • Existing users can invite new users by email
  • Invitees get a secure link to set up their password
  • No open registration - invitation-only access
  • Uses Rails 8's built-in authentication (no Devise)

Quick Start

git clone https://github.com/sofmeireles/rails8-invitations.git
cd rails8-invitations
bundle install
rails db:setup
bin/dev

Demo login:

  • Email: demo@example.com
  • Password: password

How it works

  1. User sends invitation → creates account with temp password
  2. Invitee gets email with secure token link
  3. They set their password and account is activated

Built using Rails' generates_token_for for secure, expiring tokens.

Blog Post

Read the full implementation guide: [Coming soon]

About

A simple user invitation system built with Rails 8's authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published