I need a Social Login guide!
Hi! So I'm trying to take my completely unprotected, already existing website and protect it with a Social Login (for example LinkedIn). The problem is, I can only find guides showing me how to retrieve and display user data after they clicked the login button. This in no way hides the content of my existing site _behind_ the LinkedIn login. Can anyone recommend a guide that helps me with this, in a pedagogic and detailed way? Or in the least suggest a better forum for this question. Note: My page is a SPA (Single Page App), so redirects are not an option. I need an Ajax solution. PS! I also want to store the user info to a MySQL database and check if the user already exists (so not to throw errors if they do). I need this to be done even if the user is already logged in to LinkedIn when they visit my page (from what I can gather, the logout function of the LinkedIn Javascript SDK/API is directly connected to the users login status on linkedin.com and cannot be separated)