This is an example of how to use Authlogic in combination with the Javascript OpenID-Selector in a Rails app.
Live Example can be found here: openid-example.joontos.ch
Please check the following pages to find more information about the applications used to build this example:
-
Original Authlogic Example App: authlogicexample.binarylogic.com
-
Authlogic: github.com/binarylogic/authlogic
-
Authlogic OpenID: github.com/binarylogic/authlogic_openid
-
Javascript OpenID-Selector (based on JQuery): code.google.com/p/openid-selector/
-
OpenID User registration using Javascript OpenID-Selector.
-
Automatically log users in upon successful OpenID registration, saving his OpenID identifier and (if returned) his email address.
-
A my account area where the user can view / delete his account.
-
Login/Logout functionality.
-
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.
-
Count how many users are logged in / out in your system.
-
Fetching email using sreg and ax works now
-
Flickr OpenID doesn’t seem to work at all…
-
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…feel free to help me on this one!
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. :-)