G
Guest 20221009
Guest
I am adding FB and Twitter authentication to an app my team is building. The app has its own membership tables with a few non-null fields.
I would like to keep track of the users that use social accounts to login and somehow link them to my own membership tables. From a DB point of view is it fine for me to pass empty values for some account so that I can link a social account with a membership entity?
user
-id (int)
-username (notnull)
-password (notnull)
oath
-id (int)
-identifier (string: facebook and twitter ids)
-userid (int)
Does this make sense? I have no need to store the tokens, just need to match the user with the content they create on the site.
I would like to keep track of the users that use social accounts to login and somehow link them to my own membership tables. From a DB point of view is it fine for me to pass empty values for some account so that I can link a social account with a membership entity?
user
-id (int)
-username (notnull)
-password (notnull)
oath
-id (int)
-identifier (string: facebook and twitter ids)
-userid (int)
Does this make sense? I have no need to store the tokens, just need to match the user with the content they create on the site.