I'm working on a web app that accepts only social logins as authentication (Facebook and Google for now). I've successfully implemented the login buttons following each site's instructions, and I use the email address associated with the service as their unique identifier and store it in PHP's $_SESSION variable to navigate through pages.
My question is whether or not I can assume there will be no vulnerabilities if I follow Facebook's and Google's implementation guidelines. I assume using SSL to prevent man-in-the-middle attacks is a must. What else can I do, or avoid, in order to securely handle each user's login and session?
Thank you for your suggestions.