A light script for to start to use GetID
This script is intended to start GetId Web SDK v6 on web a page. For a launch sdk v6 read sdk v5 README
For the previous version read LAUNCHER V1 documentation
-
I should install script in your project:
npm i getid-launcher
-
Import function into your client code:
import { init } from 'getid-launcher';
or
const { init } = require('getid-launcher');
-
Compile SDK configuration object: You can get more information on https://github.com/vvorld/getid-web-sdk/tree/v6
-
Create element in DOM where SDK should be included:
<div id='getid-component'>
-
Call initialization WebSDK
init(config);
You can see a simple example in repository https://github.com/vvorld/getid-launcher/tree/main/example
This example shows how use launcher
in client side script (https://github.com/vvorld/getid-launcher/blob/main/example/client.js)