I’ve released an open source Rails application that provides an example of RESTful Authentication.
It provides a complete system for managing users, including sign up and verification of a new user’s email address, login with role-based access control, and a system of resetting forgotten passwords, all using a RESTful architecture.
You can easily customize the application for your own needs.
You can obtain the source code here:
It is based on recommendations from the forum discussion Restful Authentication With All the Bells and Whistles.
UPDATE: I’ve set up an account at Get Satisfaction for discussion and bug reports.
August 13, 2008 at 6:01 pm |
[...] I’ve released my own Rails RESTful Authentication Example Application. Possibly related posts: (automatically generated)looking for a barebone social network framework in [...]
August 14, 2008 at 7:24 am |
Nice example app, but the rpsec tests finds loots of errors
August 14, 2008 at 10:50 pm |
@Rodrigo: If you’re finding rspec test failures, make sure you’ve set up the app to send email. The rspec tests send real email and if the app isn’t set to send email, you’ll get 26 errors. Grab the latest version if you’re still getting any errors (fixed two routing errors today). Hope that helps! let me know if it doesn’t. Thanks for the comment.
September 4, 2008 at 5:04 pm |
[...] Rails RESTful Authentication Example Application now has a Get Satisfaction support [...]
December 2, 2008 at 12:43 pm |
I have an app that divides up content by subdomains. subdomain1.myapp.com and subdomain2.myapp.com show different content. I want to be able to assign individual users roles on different sites.
For instance, user1 might be an administrator on subdomain1, but have no rights on subdomain2. User2 might have administrator rights on both, while user3 has administrator rights on one and another role on the other.
Do you have any suggestions as to how to go about this?
February 10, 2009 at 9:49 am |
Hi,
I’d be really appreciative of old-fashioned integration tests.
thanks
February 10, 2009 at 10:43 pm |
Hi, I’m using a fresh download of the origen restful authentication and when I sign up as a new user the activation code sent in the email is different to the activation code saved in the database. Any idea what is going wrong?
February 11, 2009 at 2:17 am |
Thomas,The docs that come with the plugin mention your problem and how to fix it.