Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to login with native ion-auth account and Facebook login #4

Open
olliefalle opened this issue Apr 28, 2016 · 3 comments
Open

Comments

@olliefalle
Copy link

Hi,

Is there a way a user can still login with standard ion_auth credentials as well as FB login?

I found when i register via FB, then change the password in my profile, i cannot login again via FB.

@olliefalle olliefalle changed the title Ability to login with stanard ion-auth account and Facebook login Ability to login with native ion-auth account and Facebook login Apr 29, 2016
@pretty
Copy link

pretty commented Dec 5, 2016

Because this is relying on the ion_auth protocol it's requiring a password to authenticate the user. In the code the password is hard coded, so when you changed it, it will no longer match up when trying to login.

I think a better way of doing this would be to modify the ion_auth model with new facebook login and register methods to handle this case better. Either way the customer would need to either choose or change their password after using Facebook to login to login without Facebook. This would require some modification.

@estebanzen
Copy link

can you please upload an example for usage?

@pretty
Copy link

pretty commented Dec 6, 2016

@esebanzero I haven't got an example right now and would need to test it myself. If we implement this then I will be sure to add a solution. I might fork this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants