-
Notifications
You must be signed in to change notification settings - Fork 0
Login with google #27
Comments
I implemented a minimal working system for authentification in a different repository. Otherwise I would have had difficulties understanding the growing code base. There are still some things which are therefore to be implemented and tested
As I am still new to many concepts the following things are still a bit unclear:
|
Adding link here for reference: https://github.com/jdrudolph/auth |
Ok, looks like passport is much better than the oauth library as it's much more high-level. |
@jdrudolph I've added passport on this branch, using your code as inspiration: 23-passportauth Please have a look. You can test it with your google app if you like, you need to add your settings into settings.json The code should be generic enough to be able to login with anything. The only issue left is that I don't know yet how to pre-init Angular JS with the correct user name. I'm not merging this yet because of that missing part (and needs more testing) |
See branch "23-twitteroauth", maybe add it there.
There is a "oauth_provider" column in the DB that could use the value "google" instead of "twitter".
The text was updated successfully, but these errors were encountered: