Connect Meteor Account login with another framework account password


#1

I have a Ruby on Rails application, and I plan to make a different application with Meteorjs, but I want the user account on rails application can login to an account with the same email and password on Meteorjs. Does anyone have the best flow to do that?


#2

I’ve done something similar with a Drupal site going to meteor. You’ll want to use a package like restivus and create a signup api endpoint. Within that end point then you’d use the accounts-password package to create a user using the password and email that comes through from the endpoint.

You’d want to be sure to lockdown the domains allowed to signup. Look into both restivus for creating an endpoint and accounts-password for creating accounts on the back end.