Last Modified
2012-07-30 18:24:18 +0000
Requires
  • openid
  • openid/store/filesystem
  • openid/extensions/sreg

Description

The openid strategy attempts to login users based on the OpenID protocol openid.net/

Overwrite the on_sucess!, on_failure!, on_setup_needed!, and on_cancel! to customize events.

Overwite the required_reg_fields method to require different sreg fields. Default is email and nickname

Overwrite the openid_store method to customize your session store

Requirments

Routes:

:openid - an action that is accessilbe via http GET and protected via ensure_authenticated
:signup - a url accessed via GET that takes a user to a signup form (overwritable)

Attributes

:identity_url - A string for holding the identity_url associated with this user (overwritable)

install the ruby-openid gem