Unlock Authentication in Rails 8

Ruby on Rails 8 introduces a new authentication generator that makes it simple to add a basic login system to your application. This microbook will guide you through adding a Sign up system, invite system and much more to make a full fledged authentication system.

Pre-order Now ($9+) Notifiy me when it's out
Rails Simple Auth

What's in this book?

Built-in Security

Learn how Rails 8's new authentication generator provides enterprise-grade security out of the box.

Quick Setup

Get up and running with a complete authentication system in minutes, not hours.

Best Practices

Follow industry standards and Rails conventions for maintainable, secure code.

Invite System

Learn how easy it is to add an invite system (like many other big applications you know and use) to your application!

Adding OAuth

Want to add social logins to your application? This book will show you how to do it using trusted Ruby tools and libraries in a few simple steps.

Passwordless Auth

Want to use magic links or one time codes for authentication? This book will show you how to do it using the latest Rails 8 features.

Table of Contents

  1. High Level Design and Architecture

    Overview of the new authentication features in Rails 8 and creating the simple app to house the authentication code.

  2. Using the Rails 8 Authentication System

    A deep dive into the new authentication system and how it works under the hood.

  3. Adding a Registration Flow

    Rails gives us a login and password reset, but no registration flow. Here you will create a registration flow for new users to sign up for your application.

  4. Adding an Invitation System

    We'll build on the registration flow by allowing users to invite other users.

  5. Adding oAuth2 Support

    Allow users to log into your application through social logins like Github or X

  6. Adding Passwordless Support

    Who needs passwords? Add support for magic links or One TIme Code logins.

Frequently Asked Questions

When will this book launch?

The target is Spring 2025, but I feel optimistic about that target.

Do I need prior Rails experience to use this guide?

While some familiarity with Rails is helpful, this guide is designed to be accessible to developers of all skill levels. We cover the basics and provide detailed explanations throughout the book.

Is this guide suitable for upgrading existing Rails apps?

Yes! The Rails generator and code samples are applicable to existing codebases.

Is there a refund policy?

Send me an email and I'll let me know what the issue is. I'll gladly refund your purchase if you're not satisfied but would love to know how your expectations weren't met.

Will this guide be updated for future Rails versions?

Kind of...if you can assume there will only be minor changes to the authentication landscape in Rails 8+, there should be no reason this book would not be updated.

Get notified when it launches

Be the first to know when the guide is available, keep up-to-date on the status and receive exclusive early-bird pricing.