…he openid server failed; thus need to check if the openid response is blank - otherwise the save block will be removed and rails will try to render session/create.erb
- display the actual errors to the user - make sure to not set attempted_record if the record couldn't be saved, otherwise it will be forced-saved by a callback later on
…so use the helper method provided by the plugin to determine if open id is being used
Inspired by pelle's code, now auto-registration is working (at least for me). I was not able to make pelle's code work
…nges; but the new OpenID package normalizer is less lenient than the old code and thus simply "new" isn't valid anymore, which is why the test case was failing.
…t by the framework
… issue with restful routes
…ire it in the same way as authlogic, i.e. use the installed plugin
…rsion of authlogic. config was too general of a name and was causing conflicts for people in their own projects.
…avoid trying to double authenticate. Ex: finding a session in the save block during a successful save.
…gicOpenid::ActsAsAuthentic. * Added map_openid_registration, attributes_to_save, and map_saved_attributes methods to customize how attributes are set for AuthlogicOpenid::ActsAsAuthentic.