An module to login users in parse server with phone numbers using Facebook AccountKit.
npm install -S Parse-Server-phone-number-auth
Go to your Parse Server Example index.js file eg.
$ cd /home/demo/parse-server-exemple
Edit index.js file like this eg. $ vi index.js or you can edit with your favorite editor like nano
Edit the index.js file in parse-server-example and configure ParseServer with oauth, you can find this in parse server docs https://github.com/ParsePlatform/parse-server/wiki/OAuth
Make sure to setup the accountkit oauth when starting your parse server:
var api = new ParseServer({
...
auth: {
accountkit: {
module: 'Parse-Server-phone-number-auth',
appSecret: 'YOUR_APP_SECRET'
},
facebook: {
appIds: "FACEBOOK"
}
}
});
Soon...
Soon...
Note. Ww will update this repo as soon possible.