Skip to content

Latest commit

 

History

History
executable file
·
89 lines (58 loc) · 3.9 KB

README.md

File metadata and controls

executable file
·
89 lines (58 loc) · 3.9 KB

Yoti NodeJS SDK

Build Status Coverage Bugs Code Smells Vulnerabilities

Welcome to the Yoti NodeJS SDK. This repo contains the tools and step by step instructions you need to quickly integrate your NodeJS back-end with Yoti so that your users can share their identity details with your application in a secure and trusted way.

Table of Contents

  1. Requirements - Check you have what you need

  2. Installing the SDK - How to install our SDK

  3. Setup - Setup required before using the Yoti services

  4. Products - Links to more information about the products offered by the Yoti SDK

  5. Support - Please feel free to reach out

Requirements

Node version

Please refer to Travis to see all compatible Node versions.

Windows users

If you're planning on using the Node SDK on Windows, you'll need to install a few dependencies first:

  • OpenSSL (normal version, not light) in the same bitness as your Node.js installation.

    • OpenSSL must be installed in its specific directory (C:\OpenSSL-Win32 or C:\OpenSSL-Win64)
    • See this wiki from Microsoft for common configuration issues.
  • node-gyp (npm install -g node-gyp)

    • Either install Microsoft's windows-build-tools using npm install --global --production windows-build-tools
    • Or manually install Python 2.7 and Visual Studio (or modify an existing installation) and select Common Tools for Visual C++ during setup.

Installing the SDK

To import the Yoti SDK inside your project, you can use your favourite dependency management system. If you are using NPM, you can use the following command to set the Yoti SDK as a dependency:

npm install -S -E yoti

Your package.json file will then be updated to include:

"dependencies": {
     "yoti" : "x.x.x"
 }

Setup

For each service you will need:

  • Your Client SDK ID, generated by Yoti Hub when you create (and then publish) your app.
  • Your .pem file. This is your own unique private key which your browser generates from the Yoti Hub when you create an application.

Products

The Yoti SDK can be used for the following products, follow the links for more information about each:

  1. Yoti app integration - Connect with already-verified customers.
  2. Yoti IDV - Identity verification embedded in your website or app.

Support

For any questions or support please contact us here: https://support.yoti.com Please provide the following to get you up and working as quickly as possible:

  • Computer type
  • OS version
  • Version of Node being used
  • Screenshot

Once we have answered your question we may contact you again to discuss Yoti products and services. If you’d prefer us not to do this, please let us know when you e-mail.

For further documentation, see https://developers.yoti.com/yoti/welcome