ucladevx / Bmaps-Backend

Documentation and source code for public events/locations APIs.
http://github.com/ucladevx/Bmaps-Backend/
MIT License
6 stars 2 forks source link

User Accounts w/ Google login #116

Open TrinaKat opened 5 years ago

TrinaKat commented 5 years ago

Currently have basic implementation of Facebook Auth/Login, but due to API limitations might just use Google login instead.

Facebook:

Google:

Next Steps:

TrinaKat commented 5 years ago

Potentially relevant example: https://github.com/GenFirst/angular2-node-fb-login/blob/master/frontend/src/app/login/login.component.ts Google login: https://developers.google.com/identity/sign-in/web/sign-in Mappening Developers Account: https://console.developers.google.com/apis/credentials?authuser=0&project=mappening-193922 (not sure if this link will work for you)

Use database collection g_users on mlab, add backend code for Google login (with UCLA account) under src/mappening/auth/google.py