title: How to store data on database after user login using social API, like facebook
body: <p>I'm working on a react-native app using django as backend.
  The backend has a User table that extends AbstractBaseUser, and I want to store the data of social logged users inside this table.
  Now let's say I'm using facebook and google as social-auth API, when I get the data on the fronted, profile_id and email (for instance in the facebook case), what field do I have to use as password? I mean you'll say it's not necessary because the authentication occurs through the facebook server, but the &quot;social_login/&quot; endpoint is accessible without any permissions so anyone can make a request using facebook user email and its profile_id, as I saw it's possible to get it thought html inspector.</p>
  <p>So what do I have to use as unique and secure identifier when the user login-in using social API for the second time? Do I have to create a token/hash based on profile_id and email?</p>
  <p>Please don't suggest me django-social-auth or something similar, they don't fit my needs because of the high levels of customization I need.</p>
  <p>Thank you</p>