Is there a more generic version of this that can be used for other OAuth 2.0 identity providers? It would be nice to create a new user by posting the access_token obtained from an OAuth 2.0 flow (not necessarily Facebook's) along with the other relevant field (username, profile picture, etc.). By the time you make it through the typical flow, most of the mandatory info is already available (i.e. username, profile picture, etc.). For example, what if I'd like to use Google, Twitter, or Instagram as my login system?
Provide your email address if you wish to be contacted offline about your comment.We will not display your email address as part of your comment.