shaniljasani / KinConnections

0 stars 0 forks source link

Create a separate table for Auth #27

Closed AtaGowani closed 2 years ago

AtaGowani commented 3 years ago

I noticed that the email and passwords for connectors are being stored in the same table as basic information about them. If we are actually going to eventually start using those emails and passwords for connector logins, we should create a separate table for authentication. The current DB setup is problematic since we are retrieving (and potentially exposing) passwords even when simply trying to get basic user data. This might be something worth doing even now as we wait for our actual DB to get set up if there are current auth functions that need to be updated to comply with this change.

AtaGowani commented 2 years ago

I'll work on updating the logic to read from the new auth table. Will also work on #12 while I am at it.