Write to MySQL Database After Auccessful OAuth Login


The model for the application I am building, binds DreamFactory users to information in a MySQL DB. So far, I’ve been able to update a MySQL table with the DreamFactory user ID when said new user is created through POST /user/register in a post_process script.

The other mechanism to use this application will be logging in through Facebook. I successfully was able to login users through DreamFactory’s OAuth mechanism but I don’t know how to update my MySQL DB with the new user that came from OAuth. Can anyone point me in the right direction?