inertia-rails-auth
Installation
SKILL.md
Inertia Rails Authentication & Authorization
Guide to implementing authentication and authorization in Inertia Rails applications.
Key Principle
Inertia uses your existing Rails authentication infrastructure. No special OAuth or token-based auth required. Since your frontend and backend share the same domain, session-based auth works seamlessly.
Authentication with Devise
Setup
# Gemfile
gem 'devise'