Skip to content
JavaScript library which streamlines integration with the Trulioo EmbedID Suite
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
src
tests
v1
.babelrc
.eslintrc.js
.gitignore
.npmrc
.release-it.json
README.md
example.html
package-lock.json
package.json
webpack.config.js

README.md

trulioo-embedID-client

Github

JavaScript library which streamlines integration with Trulioo.

Exposes TruliooClient and a function which loads on "DOMContentLoaded", loading Trulioo EmbedID.

How to render

Drag and drop this snippet of code into your HTML:

    <div id="trulioo-embedid"></div>
    <script type="text/javascript"
        src="https://cdn.jsdelivr.net/gh/trulioo/trulioo-embedid-client@master/v1/main.js"/>
    
    <script>
        const publicKey = 'YOUR_API_KEY_GOES_HERE';
        const accessTokenURL = 'YOUR_ACCESS_TOKEN_URL_GOES_HERE'; //i.e.: http://localhost:3222/accessToken
        new TruliooClient({
            publicKey,
            accessTokenURL
        });
    </script>
You can’t perform that action at this time.