I recently gave a presentation on using Devise as the authentication mechanism for Rails 3 applications at the January 25th Phoenix Rails User Group meeting. The slides are available at the following link: authentication with devise.
The following topics are covered:
- Basic Setup
- Email Verification
- Custom Views
- Overriding login/logout actions
- Custom encryptors
- Token authentication
- Permanent access token
- Single access token
- Using Http Basic Auth
- Simple Administrative Access
- Dual User Roles
- Let user login using either username or email
As a bonus, I created a simple rails application on github with devise all set up. All of the covered topics have been implemented in a separate branches so you merge in the features you want or diff between the branches to see all the things that need to be modified to activate that feature.
The presentation itself was recorded, and is available on Vimeo.