nicolaslopezj / meteor-apollo-accounts

Meteor accounts in GraphQL
MIT License
146 stars 37 forks source link

Use loginWithPassword with hashPassword #86

Open enzolutions opened 6 years ago

enzolutions commented 6 years ago

Hi people

I want to login in Meteor/GraphQL using external clients, like Curl or Symfony Guzzle in using loginWithPassword mutation.

Sending the l plainPassword works like a charm, but I want to avoid to send the password in plain text, I see there is a function hashPassword https://github.com/orionsoft/meteor-apollo-accounts/blob/9e728c4687585b5fa566e8e831a12cf792d16bc1/client/src/hashPassword.js

But, looks like this is a custom way to hash the plain password, I am wondering if there is a way to implement using external tools that the ones I mentioned before.

Thanks in advacen for your help.