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

facebook and google sign in #27

Open
thomascarli opened this issue Feb 5, 2017 · 1 comment
Open

facebook and google sign in #27

thomascarli opened this issue Feb 5, 2017 · 1 comment

Comments

@thomascarli
Copy link
Owner

No description provided.

@sebvaldez
Copy link
Collaborator

Got a bulk of the backend finally working
The tricky think ive learned about using OmniAuth for multiple providers is that you dont always get an email.

This causes for the user experience to many redirections, an attribute that is just as good as uniq email is the ' uid', i have added a validation for uniqueness of UID with in the scope of a provider,
(cant have two of the same Facebook UIDs)

Since were using Devise gem with OmniAuth, i had to create a migrations to allow the email attribute to be null, for the case of when a new user signed up and has privacy settings locked to not share email..

NEXT TO COME....
before merging this branch I plan on making it possible for users to update with account settings

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

2 participants