AddAuth documentation
Your Rails app. More ways to sign in.
Build on Rails authentication with email links, passkeys, hardened sessions, and optional bot checks. Start here, then make it your own.
Rails 8.0+ Ruby 3.3+ MIT licensed
Documentation
Find your next step
Get started
Install the RubyGems package in your Rails app and follow your first email link.
Authentication
Set up email links, passkeys, recovery and session controls.
Configure AddAuth
Create your initializer, enable features and look up every setting and default.
Get unstuck
Check a missing email, an expired link, or an unexpected sign-out.
Rails integration
Built around the Rails you know
Keep your models
AddAuth uses the User and Session models from Rails’ authentication generator.
Enable what you need
Start with sessions. Add email links and bot checks when your app needs them.
Own the presentation
Use the included styles, map your own classes, or copy the views into your app.