JaysGitLab / cs5667-final-project-revdev

cs5667-final-project-revdev created by GitHub Classroom
MIT License
1 stars 0 forks source link

Implement Google OAuth #56

Closed haietza closed 6 years ago

haietza commented 6 years ago

Resolves #54. New config/env/development.js and test.js will be sent via Filelocker.

caldwellc1 commented 6 years ago

@haietza Is the username not the email? Are we checking to make sure it's a valid email or leaving that up to the OAuth.

haietza commented 6 years ago

@caldwellc1 Yes, in our application username is email. But on Google's end, the username could be different. That's why the username in our app is mapped to the email in Google. OAuth/Google will verify that email is valid. The user won't be able to authenticate in Google and be passed back to our application if the email is not valid.