Skip to content

nexmo-community/node-passwordless-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementing Passwordless Login Using the Nexmo Verify API

This repo contains the example code for our tutorial on using the Nexmo Verify API to authenticate a user by their mobile phone number. It is written in Node.js using the Express framework.

Installing your own version

Follow these steps to get your own version of this up and running:

git clone https://github.com/nexmo-community/node-passwordless-login.git
cd node-passwordless-login && npm install

Configuring the application

Once installed, copy the .env-example file to .env in the application's root directory. Enter your API key and secret from the Nexmo Developer Dashboard and also a name for your application which will appear on the home page and also in the from field of any SMS sent via the Verify API.

NEXMO_API_KEY=YOUR NEXMO API KEY
NEXMO_API_SECRET=YOUR NEXMO API SECRET
NEXMO_BRAND_NAME=UP TO 11 ALPHANUMERIC CHARACTERS

Running the application

You should then be able to run the app with npm start.

About

Implement passwordless login using the Nexmo Verify API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published