Skip to content

alonp99/onfido-sdk-web-sample-app

 
 

Repository files navigation

Onfido SDK Sample App

Overview

The purpose of this app is to show how to use the Onfido JavaScript SDK by use of the npm module. By use of script tags you can see the example in the SDK repo here.

Run the app

Git clone the project and run npm install and then npm run start.

Internals

The core app is the src/index.js. The getToken function will send a request to an internal Onfido service called sdk-token-factory that generates JWTs that allows internal contributors to test the app. In a real-life integration, the JWT would have to be requested from the host app server, which will then serve it to its front-end before initialising the SDK. The application runs on https using webpack-dev-server. The project is running at https://localhost:8090/.

About

Sample app which uses the JavaScript SDK

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.2%
  • HTML 24.2%
  • CSS 6.6%