GitHub onCreateUser


When using onCreateUser (accounts package) what are the keys for first name, email and avatar url? For example, with Facebook it’s,, etc.


Hey @methodx, take a peek at this file: It includes mapping for GitHub and all the others. It technically comes through on the profile object passed to onCreateUser as the name field. This code splits the name into first and last but could easily be refactored to leave as the full name.

Hope that helps!