bnoguchi/mongoose-auth

Register automatically without form post

rohitcolinrao opened this issue · 1 comments

I am looking to register a user directly from my server side backend. Basically, when a payment confirmation hits a route from my payment provider, I want to take the email address from that confirmation and automatically create an account for them. Any thoughts on the best way to do a registration? Is there a method like findOrCreateUser() i should call?

btw, the password i'll be using is a auto generated password