Any have idea on how signup and login working?


#1

anyone have idea on how signup and login working ?
i have api with elixir and website with meteor
i need to create signup endpoint in elixir to create user account
i don’t want to create http request to meteor server
in need to create user in elixir and insert it to MongoDB

this what i did and still can’t login from web
create sha256 then bcrypt with 10 rounds


#2

#3

You could check Meteor’s implementation here:


#4

yes i know this file
what i understand from it
first do sha256
second do bcrypt with 10 rounds