Social Sign in with app connect

Has anyone added social sign in to a app connect project? I just need a nudge in the right direction to start. I want to request user details and get and save the tokens in mysql db so “remember Me” functionality still works as per normal sign in. Thanks