Search code examples
meteormeteor-accounts

creating a meteor user account from a social media login


How do I create a meteor account without any password?

I would like to create the account when a user login using facebook or other social medial sites.

userId = Accounts.createUser({ email: email}) //this doesnt work


Solution

  • add the accounts packages with the relevant login

    update: for angular2, add the api as well