How would you go about allowing a user to log in with multiple openid accounts and optionally a password, using authlogic?
Looks like if you set the find_by_openid_method, you can reference anything: http://authlogic-oid.rubyforge.org/
From the docs:
class User < ActiveRecord::Base
def self.find_by_openid_identifier(identifier)
user.first(:conditions => {:openid_identifiers => {:identifier => identifier}})
end
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With