Skip to content
An example rails app using the Authlogic authentication library, OpenID and the OpenID Javascript Selector and Facebook and Auto registration.
JavaScript Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db/migrate
doc
public
script
test
vendor
.gitignore
Capfile
README.rdoc
Rakefile

README.rdoc

Authlogic OpenID-Selector Example

This is an example of how to use Authlogic in combination with the Javascript OpenID-Selector in a Rails app.

Please check the following pages to find more information about the applications used to build this example:

What does this example app contain?

  1. OpenID User registration using Javascript OpenID-Selector.

  2. Automatically log users in upon successful OpenID registration, saving his OpenID identifier and email address.

  3. A my account area where the user can view / delete his account.

  4. Login/Logout functionality.

  5. Automatically store information on the users and their session in the databases. Such as login count, IP address, when they logged in last, and when their last activity occurred.

  6. Count how many users are logged in / out in your system.

Current Issues

  • Needs to be tested using other OpenID accounts besides Google and Yahoo

  • Yahoo currently doesn't provide the user's email by SReg or AX.

TODO

  • Port Javascript OpenID-Selector to the Prototype JS library.

  • Implement Facebook login into this app (waiting for Authlogic Facebook module).

  • Use this application to build a Rails plugin.

Misc.

This is my first Github and Git project, so please be patient and give me feedback if anything isn't working as you would expect. :-)

Something went wrong with that request. Please try again.