authlogic-connect icon indicating copy to clipboard operation
authlogic-connect copied to clipboard

Make sure traditional login still works.

Open lancejpollard opened this issue 15 years ago • 3 comments

lancejpollard avatar Jul 14 '10 09:07 lancejpollard

@viatropos Am I right in thinking that right now you can ONLY register / signin using external providers and not a locally stored username/password?

I have this use case where default Authlogic behaviour (no add-ons) is in place, but I'd like to make it so that users can, if they want, register/login with Facebook, Google etc etc. I think the OpenID add-on works that way.

jeroenhouben avatar Jul 31 '10 10:07 jeroenhouben

I would like to know this too, will regular site username/password login still work?

badnaam avatar Aug 21 '10 20:08 badnaam

Yeah I'm trying to solve this same problem. I have the basic authlogic user/password right now and I'd like to add this authlogic-connect gem.

The problem I'm having is that a new user record is created when an existing user logins in with facebook. Since oauth just returns with a token and key I'm unsure how to prevent this second record from being created.

I guess that after the second user is created we can discover the users email address from facebook then merge records. Does that sound reasonable?

jspooner avatar Oct 25 '10 17:10 jspooner