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

Passport authentication with google. #8

Merged
merged 6 commits into from
Mar 30, 2017

Conversation

nkbelow
Copy link
Contributor

@nkbelow nkbelow commented Mar 30, 2017

  1. Git ignored authentication info and I will send this over in slack
  2. Changed schema for users collection
  3. Added findusers function
  4. Passport Oauth

Copy link
Contributor

@abianco3 abianco3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found something that may help adding using your work to authenticate all our routes. About halfway through there is a reference to req.isAuthenticated() and using it as middleware: https://scotch.io/tutorials/easy-node-authentication-google

@nkbelow
Copy link
Contributor Author

nkbelow commented Mar 30, 2017

I will be sure to check it out it looks like a great article. I imagine that some sort of middleware exists that will allow me to redirect to another page

@abianco3
Copy link
Contributor

looks good.

@abianco3 abianco3 merged commit 5f06fed into Sophisticated-Seahorses:master Mar 30, 2017
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

Successfully merging this pull request may close these issues.

2 participants