title: django - allauth and rest-auth facebook login token does not work with JWT authentication
body: <p>I've followed the both packages documentations and using example from <a href="http://django-rest-auth.readthedocs.io/en/latest/installation.html#social-authentication-optional" rel="nofollow noreferrer">rest-auth doc</a>. I've followed all the steps and I can successfully use this API to register/login user with facebook. API returns me <code>token</code> and <code>user</code> object but this token is not working with <code>JWT</code> authentication. But if I set this user's username in the db and then post the facebook login request again then returned token works fine. What does this social authentication process has to do with username? Is there something I need to do to properly configure it?</p>
  
  <p>I am using custom user model and have both username and email for authenticating users. Please let me know if any further info is needed for figuring out the problem.</p>