I am migrating user documents in Mongo from my Meteor project to non-Meteor project (express backend + mongodb).
I would like to know how to migrate the user data so that the users can continue to login using the same password in my non-Meteor app. I don’t fully understand what goes on under the hood in Meteor’s user-accounts package for login/signup.
Currently, the users in Mongo have this shape in my Meteor app:
My plan is to use bcrypt to hash the plain password when user tries to login in a non-Meteor app, and compare it with the value for services.password.bcrypt. Would it work?