Skip to content

JavaScript library which streamlines integration with the Trulioo EmbedID Suite

Notifications You must be signed in to change notification settings

bondo11/trulioo-embedid-client

Repository files navigation

trulioo-embedid-client

Github

To include this package via CDN, use this line of code:

<script type="text/javascript" src="https://js.trulioo.com/latest/main.js"></script>

JavaScript library which streamlines integration with Trulioo.

How to use

Exposes TruliooClient to load EmbedID.

This SDK works in conjunction with the Trulioo EmbedId Middleware.

Instantiate EmbedID through the TruliooClient constructor:

function handleResponse(e) {
    console.log('@handleResponse', e);
}
const publicKey = 'PUT_YOUR_PUBLIC_KEY_HERE'; // Public Key
new TruliooClient({
    publicKey,
    handleResponse
});

Have a look at the example.html file.

Pull Request

Must update the main.js prior pull request to master

npm run webpack-release

About

JavaScript library which streamlines integration with the Trulioo EmbedID Suite

Resources

Stars

Watchers

Forks

Packages