RailsApps / rails3-subdomains

An example Rails 3.2 app with subdomains and authentication using Devise. With a tutorial.

Home Page:http://railsapps.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Devise authentication keys properly

johnbeynon opened this issue · comments

It would be nice to see a Devise subdomains tutorial using some of the configurable options in the devise.rb initializer - importantly for subdomains - authentication_keys to limit users to a subdomain (I typically use account_id). I've never seen any devise subdomains tutorial use these but I consider them to be essential if you're using subdomains in the real world.