Trigger "writeUserData" lambda function with POST request instead of GET request
Find a way to trigger "writeUserData" on user sign-up for social sign-up. Currently checks on every sign-in attempt if an amplify_id needs to be inserted or updated to the postgres db. Am able to override the handleSignUp function to do this with email sign-up but does not work for social sign-in.
214
To-do's for future optimization:
amplify_id
needs to be inserted or updated to the postgres db. Am able to override thehandleSignUp
function to do this with email sign-up but does not work for social sign-in.