I have a web application that I would like to add single sign on capability using user's Facebook or Google+/Google App account. 

I have a USERS table that stores users login information.  All users are required to have a record in this table no matter if they signed up using FB or Google+.

I am trying to figure out the information that I need to store in the database in order to link USERS table records to FB or Google information.  

Facebook documentation states:


  the app should store the token in a database along with the user_id
  to identify it.


So should I create a table called SSO_LOOKUP with following columns:


USER_ID // user's id that links to my USER table
PROVIDER_ID // user's FB or Google account id
PROVIDER_TYPE // indicates if it is Google, FB, Twitter, etc. 
ACCESS_TOKEN



Question: Do human anal glands have any function?
Answer: They are vital if not incredibly useful in many other mammals but not humans. People have tried to look for a role and seen that they activate in times of stress or anxiety. However this probably only serves to heighten both stress and anxiety as you now also don't smell that great either. There is no identifiable role in humans apart from causing a variety of disorders such as an abcess.