valarao / chocolate-thunder-chess

Allow chess players to search through 1,000+ common opening positions.
MIT License
2 stars 2 forks source link

Added user auth #83

Closed AlvinCYLo closed 3 years ago

AlvinCYLo commented 3 years ago

Overview

This PR solves #70 by setting up authentication via FB provider. This allows us to authenticate users and store users in mongo for retrieval on subsequent login. Originally separated logic for sign up and log in but decided to make it more robust by finding if user already exists in db, if not create new user with data from FB provider. Have kept it with only FB provider for the time being to unblock favoriting of notations and to keep data consistent.

TODOs

austincho commented 3 years ago

@AlvinCYLo CI is failing