JS Plugin

The Javascript (JS) Plugin is the recommended way to add Vouched to your web application.

1700

JS Plugin Flow

  1. Create your public key
  2. Copy the Quick Start Code below or follow the recipe to add Vouched to your site
❗️

Camera Restrictions

Browser permissions for the camera require an https host. Sites hosted with http or file:// will not work. For testing purposes, a localhost site is a viable option.

Quick start code

❗️

Vouched Lifetime considerations

The Vouched function and subsequent calls to .mount() should only happen once per verification session otherwise multiple instances of the plugins which is not supported and may lead to severe issues.

<!DOCTYPE html>
<html>
<head>
  <!-- utf-8 is required for JS Plugin default fonts -->
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script src="https://static.vouched.id/plugin/releases/latest/index.js"></script>
  <script type='text/javascript'>
    (function() {
      var vouched = Vouched({
      // Optional verification properties.
        verification: {
          // verify the user's information
          firstName: 'Gladys',
          lastName: 'West',
          // used for the crosscheck feature
          email: '[email protected]',
          phone: '000-111-2222'
        },
        liveness: 'enhanced',

        publicKey: '<PUBLIC_KEY>',
       // your webhook for POST verification processing
        callbackURL: 'https://website.com/webhook',

        // mobile handoff
        crossDeviceQRCode: true,
        crossDeviceSMS: true,

        // called when the verification is completed.
        onDone: (job) => {
          // token used to query jobs
          console.log("Scanning complete", { token: job.token });

          // An alternative way to update your system based on the
          // results of the job. Your backend could perform the following:
          // 1. query jobs with the token
          // 2. store relevant job information such as the id and
          //    success property into the user's profile
          fetch(`/yourapi/idv?job_token=${job.token}`);

          // Redirect to the next page based on the job success
          if( job.result.success){
            window.location.replace("https://website.com/success/");
          }else{
            window.location.replace("https://website.com/failed/");
          }
        },

        // theme
        theme: {
          name: 'avant',
        },
      });
      vouched.mount("#vouched-element");
    })();

  </script>
</head>
<body>
  <div id='vouched-element' style="height: 100%"/>
</body>
</html>

Basic react example

import React, { useEffect, useRef } from 'react';

/**
 * This component will mount the `Vouched` verification plugin and unmount it when the component is no longer rendered.
 */
const VouchedComponent = () => {
  const id = 'vouched-container';
  const vouchedRef = useRef();
  // You must ensure the `Vouched` function is only called once per verification session.
  useEffect(() => {
    // Assuming vouched is included via script tag or otherwise loaded
    if (!window.Vouched || vouchedRef.current) {
      return;
    }

    const instance = window.Vouched({
      // your configuration
    });
    vouchedRef.current = instance;

    instance
      .mount(`#${id}`)
      .then(() => {
      // optionally await mounting, usually not required when using callbacks.
        console.log('vouched mounted');
      });

    return () => {
      instance.unmount(`#${id}`);
    };
  }, []);

  return <div id={id} />;
};

Versioning considerations

🚧

Note about legacy versioning scheme

For historic & compatibility reasons the plugin located at https://static.vouched.id/widget/vouched-2.0.0.jsis available until we announce its deprecation.

📘

Future npm package

We are currently working on publishing a version of our plugin via npm, we expect to ship this with v3 of the plugin.

This will allow you to leverage tools such as Dependabot to make automatic updates.

The vouched plugin is released according to semantic versioning.

We generally recommend embedding the latest version of plugin as we make frequent fixes and improvements to our plugin.

However while we try to keep breaking changes at a minimum certain changes may negatively impact when automatically adopting majorversion changes.

In order to restrict automatic embedding of future versions you can pin the version of the plugin you wish to use to major,minoror specific version.

Example

  • Always using the latest version https://static.vouched.id/plugin/releases/latest/index.js
  • Pinning major version only https://static.vouched.id/plugin/releases/v2/index.js
  • Pinning major and minor https://static.vouched.id/plugin/releases/v2.0/index.js
  • Pinning to exact patch version https://static.vouched.id/plugin/releases/v2.0.0/index.js

SRI is only supported when using fully qualified versions since the contents of the files served under not fully qualified are mutable.

Examples

  • latestis not fully qualified
  • v3 and v3.2are not fully qualified since the minor and patch version may implicitly change.
  • v3.2.1is fully qualified

In order to use SRI we suggest following this guide.

Layout Considerations

When integrating Vouched into your site design, consider that the Vouched component occupies 100% height of the parent container (it has CSS rule height: 100% applied). That means the parent container should be given a height.

Height should be given, for example, by setting height value (height: 100%) on the container or by using flex constraints (flex-grow: 1 in vertical flex-box).

On a desktop device, you will see different results depending on your crossDeviceQRCode, and crossDeviceSMS values. If they are all true as shown in the above code example, you can read more details on our Mobile Handoff page. If these fields are not present or set to false, you will see the following:

Javascript Callbacks

📘

A callback is a function that is to be executed after another function has finished executing — hence the name "call back". Functions can take other functions as arguments. Functions that do this are called higher-order functions. Any function that is passed as an argument is called a callback function.

In the context of Vouched, the callback functions can be used to send data back to your server or interact with your app as desired. Some examples are onSubmit (this function is called when a user submits a photo), onCamera (this function is called when camera initialization is complete), onInit (called during initialization of the Web App), and onDone (called when the verification is complete). Most of these provide access to the job object of type Job, which contains useful information such as job.id, job.token, job.result.success, and job.status.

Arguments

ParametersTypeDescription
publicKeystringPublic key (Required). Deprecated alias: appId
typestring
  • Default: idv

  • Enums: idv, id, selfie-verification, reverify The job type. Enum values are fixed and cannot change.

    idv – ID with selfie verification

    id – ID only

    selfie-verification – selfie verification only

    reverifyReverification

tokenstringTime-limited session token used to restart a session. Tokens are valid for 15 days.
crossDeviceboolean
  • Default: false Provides the ability to maintain the same session across multiple devices using the token retrieved from onInit Deprecated.
crossDeviceQRCodeboolean
  • Default: false If the user is on a desktop computer, a scannable QR Code enables the verification to continue on their mobile phone. Once completed, control is given back to the desktop.
crossDeviceSMSboolean
  • Default: false If the user is on a desktop computer, the user can input a cell phone number and we will text a secure link to continue verification.
crossDeviceURLstringOption to set a custom domain for cross device handoff.
showUploadFirstboolean
  • Default: true Show an instructions screen before the camera selfie steps capture.
facestring
  • Default: camera
  • Enums: upload, camera, both Specify how user can submit their selfie.
idstring
  • Default: both
  • Enums: upload, camera, both Specify how user can submit their id.
idLivenessstring
  • Default: null ID Card liveness check. Add distance to activate liveness check. idLiveness checks for user movements with ID Card.
livenessstring
  • Default: mouth
  • Enums: enhanced,mouth, orientation, distance, straight Only applicable for selfie/headshot liveness check. Specify how Vouched should check for face liveness. enhanced liveness checks for user movements with a video stream, mouth liveness checks for mouth movements, orientation checks the facial orientation, distance checks for user movements, and straight checks if the user is looking at the camera.
enableEyeCheckboolean
  • Default: false Only applicable for selfies. Checks if user kept their eyes open before selfie image is captured.
propertiesarrayArbitrary properties to add to the job. Array of objects with name and value parameters.
  • Example: [ {name: "Foo", value: "Bar"}, {name: "Baz", value: "Qux"} ]
contentobjectProperties to change the text content during the verification process.
verificationobjectOptional verification properties.
callbackURLstringUpon the job's completion, Vouched will POST the job results to this URL. See webhooks for more info.
stepTitlesobjectTitles for steps of the verification process.
themeobjectChange the theme and styles of the plugin.
includeBarcodeboolean
  • Default: false Enable ID barcode capture and processing for applicable IDs. The error BarcodeMatchError results when idMatch falls below the normalized threshold or the user skips the barcode step.
includeBackIdboolean
  • Default: false Enables capture for the back of the ID for all jobs.
disableCssBaselineboolean
  • Default: false Disables the internal CSS baseline styles
onSubmit

function:

(props: {
    stage: string;
    attempts: number;
    job: Job;
}): void

Job

Javascript callback when a user submits a photo
onCamerafunction:
(props: {
    hasCamera: boolean;
    hasPermission: boolean;
}): void
Javascript callback when camera initialization is complete
onCameraEventfunction:
(cameraEvent: CameraEvent): void
CameraEvent: {
cameraRendered?: boolean;
}
Javascript callback when there are changes to the Camera DOM element.
onInit

function:

(props: {
    token: string;
    job: Job;
}): void

Job

Javascript callback during initialization of the web app
onDone

function: (job: Job): void

Job

Javascript callback when a verification is complete
onReverify

function: (job: Job): void

Job

Javascript callback when a reverification job is complete
onConfirmfunction:
(userConfirmEvent: UserConfirmEvent): void
UserConfirmEvent : {
  confirmedExtractedData?: boolean;
  error?: Error;
}
Javascript callback after user confirmation. See userConfirmation
onSurveyDone

function (job: Job): void

Job

Javascript callback when a survey is complete. Contact[email protected]
showProgressBarboolean
  • Default: true Flag to show the Progress Bar (Note this configuration is available for Avant theme )
numForceRetries number
  • Default: 2 Number of times to require users to retry before showing the Next button. Only applies on the retry screen for FORCE_RETRY cases, which occur when the API returns a low confidence score for a submitted ID or selfie image, or when a restricted document type is detected.
handoffViewobjectSettings for displaying the QR code when Mobile Handoff is enabled.
localestring
  • Default: en
  • Enums: en, es, fr, fr_CA Specify the language (English, Spanish, French, or French Canadian).
enableGeoLocationboolean
  • Default: false Enables GeoLocation for the user and returns the user's longitude and latitude (Returns error message indicating if user has denied sharing their location or browser/device does not have location support).
userConfirmationobjectProperties used for the user confirmation feature.
manualCaptureTimeoutnumber
  • Default: 12000 Number (in ms) before the manual capture button appears when ID liveness detection has not succeeded. See also manualCaptureTimeoutFace for the selfie step.
manualCaptureTimeoutFacenumber
  • Default: 20000 Number (in ms) before the manual capture button appears when selfie liveness detection has not succeeded. The timer starts when the last liveness fallback strategy begins. Note: when liveness: 'enhanced' is configured, two strategies are attempted in sequence before the timer starts, so the button may appear later than this value.
digitalIdobjectOptions for enabling the mobile driver's license (mDL) verification flow. When enabled, users are presented with a Digital ID provider selection screen, allowing them to verify using a digital credential instead of photographing a physical ID.

content Object

Optional properties to change the text content during the verification process.

PropertyTypeDescription
successstringThe messages posted after successful submission.
Example: 'Please close this window to return your online visit.'
reviewstringResponse to the user describing review of results.
Example:
'Thank you for providing your information. We will review and get back to you.'.
crossDeviceSuccessstringMessage posted after the crossDevice verification success.
Example: 'Verification is complete, continue on your desktop.'.
crossDeviceInstructionsstringInstructions and requirements for crossDevice.
Example:
'We need to verify your identity. This requires government-issued photo ID as well as selfie. Please follow the instructions below to continue the verification process on your phone:'
1. Open the Camera App from your phone.
2. Hold the device so the QR Code appears in the viewfinder.
3. Click on notification to open the verification link.
crossDeviceTitlestringTitle for crossDevice.
Example: 'Identity Verification'.
crossDeviceShowOffbooleanIf set to true, an option is displayed on the Handoff screen that allows the user to continue on Desktop, if set to false, this option will not be shown.
crossDeviceQRInstructionsstringInstructions displayed on the QR code cross-device handoff screen.
upperStartInstructionsstringUpper Instructions on Start Screen.
middleStartInstructionsstringMiddle Instructions on Start Screen.
upperIdInstructionsstringUpper Instructions on ID Screen.
lowerIdInstructionsstringLower Instructions on ID Screen.
Example: "You can either upload a photo you've already taken, or take a photo of your ID now.".
upperBackIdInstructionsstringUpper Instructions on Back ID Screen.
lowerBackIdInstructionsstringLower Instructions on Back ID Screen.
upperFaceInstructionsstringUpper Instructions on Face Screen.
lowerFaceInstructionsstringLower Instructions on Face Screen.
lowestFaceInstructionsstringLowest Instructions on Face Screen.
upperIdCapturedInstructionsstringUpper Instructions on ID Captured Screen.
middleIdCapturedInstructionsstringMiddle Instructions on ID Captured Screen.
middleBackIdCapturedInstructionsstringMiddle instructions on ID Captured Screen when Barcode scan is enabled.
lowerIdCapturedInstructionsstringLower Instructions on ID Captured Screen.
cameraIDButtonstringString text for camera button on ID Screen.
cameraButtonLabelUploadIdstringString text for Upload button on ID Screen.
cameraFaceButtonstringString text for camera button on Face Screen.
cameraButtonLabelUploadFacestringString text for Upload button on Face Screen.
upperSuccessstringSuccess message at the top.
Example: 'Your photo uploads are complete!'.
lowerSuccessstringSuccess message at the bottom.
Example: 'Thank you.'.
upperFailurestringFailure message at the top.
Example: 'Try Again'.
lowerFailurestringFailure message at the bottom.
Example: "The photo you shared can't be used for validation. Please take another picture, making sure the image of your face or your ID is clear.".
verifyPassstringThe verification passed.
Example: 'Everything looks good to us. Check your information and click next.'.
verifyFailstringThe verification failed.
Example: "We couldn't verify you. If you disagree, update your information and click next.".
qrHandoffInstructionsstringOptional bottom Handoff Instructions.
qrDesktopInstructionsstringInstructions for crossDeviceShowoff. qrDesktopInstructions is the instructions and requires '{qrDesktopLink}' to be set to inject text for the link.
Default: 'Alternatively, you can {qrDesktopLink} if you have a good desktop camera.'.
qrDesktopLinkstringString text used in qrDesktopInstructions to replace {qrDesktopLink}. qrDesktopLink becomes the link text.
Example: Continuing the example above, if qrDesktopLink = 'continue', qrDesktopInstructions becomes 'Alternatively, you can continue if you have a good desktop camera.'.
startCompanyInstructionsstringOptional Start Screen Instruction.
carouselCompanyTextstring[]Array of strings where string at each index make up the Carousel Slide.
carouselCompanyImgstring[]Array of strings (image URL) where image at each index make up the Carousel Slide.
progressIndicatorLoadingstringString that would replace term 'loading' in the Progress Indicator.
progressIndicatorVouchingstringString that would replace term 'vouching' in the Progress Indicator.
upperProgressIndicatorIdstringString that would replace the upper text on ID processing progress screen on Avant theme
lowerProgressIndicatorIdstringString that would replace the lower text on ID processing progress screen on Avant theme
upperProgressIndicatorFacestringString that would replace the upper text on Selfie processing progress screen on Avant theme
lowerProgressIndicatorFacestringString that would replace the lower text on Selfie processing progress screen on Avant theme
startScreenButtonLabelstringOptional string to override the button text in the Avant Start screen.
startScreenSelfieButtonLabelstringOptional string to override the button text on the Start screen in the selfie-verification flow (e.g. 'Verify with a photo of the patient').
mobileDriversLicenseButtonLabelstringOptional string to override the label for the mobile driver's license button.
cameraTopIDDirectionsstringOptional string to override the top text in the Avant ID Camera screen.
cameraTopBackIdDirectionsstringOptional string to override the top text in the Avant Back ID Camera screen
cameraTopFaceDirectionsstringOptional string to override the top text in the Avant Face Camera screen.
cameraButtonLabelContinueSelfiestringOptional string to override the button text in the Avant ID Captured screen.
retryMessageInvalidIdPhotostring
  • Default: We could not recognize the ID
    Optional prop to override the first line of the retry message in the ID screen.
retryMessageInvalidUserPhotostring
  • Default: We could not recognize the selfie
    Optional prop to override the first line of the retry message in the Face screen.
cameraScreenLabelFrontIdstringOptional prop to override the initial camera labels in the FrontID Camera Screen.
cameraScreenLabelBackIdstringOptional prop to override the initial camera labels in the BackID Camera Screen.
cameraFaceLabelShowFacestringOptional prop to override the initial camera labels in the Face Camera Screen.
mobileHandoffDoneMessagestringOptional prop for extra text on the Done Screen when doing Handoff on Mobile.
surveyButtonLabelstringString text for submit button on Survey Screen.
retryInstructionstringGeneric instructional text when the ID step fails and a new document capture is requested.
retryInstructionsDocumentNotPermittedstringInstructional text displayed when the ID step fails due to non-permitted document type
retryMessageRestrictedDocumentstringHeader text displayed when the ID step fails due to account configuration for ID constraints
restrictedDocumentMessagesstringHeader text displayed when the ID step fails due to account configuration for ID constraints
documentTypeNotPermittedstringHeader text displayed when the ID step fails due to account configuration for ID constraints
documentNotPermittedByCustomerstringInstructional text displayed when the ID step fails due to account configuration for ID constraints

verification Object

Optional verification properties.

PropertyTypeDescription
firstNamestringUsed to compare to the first name extracted from the ID document during Identity Verification.
  • Example: Jerry
lastNamestringUsed to compare to the last name extracted from the ID document during Identity Verification.
  • Example: Lawson
birthDatestring

Used to compare to the date of birth extracted from the ID document during Identity Verification.

Formats we accept
  • ISO 8601 (YYYY-MM-DD)
    • Example: 1940-12-01
  • or MM/DD/YYYY.
    • Example: 12/01/1940
Note : ISO 8601 support requires JS Plugin v3.95.3 or later.
emailstringUsed for identity Crosscheck.
phonestringUsed for identity Crosscheck.
enableIPAddressbooleanEnable IP address check. This is a paid feature, reach out to[email protected] before turning on
enablePhysicalAddressbooleanEnable physical address check. This is a paid feature, reach out to[email protected] before turning on
enableCrossCheckbooleanEnable phone, email, and address Crosscheck. This is a paid feature, reach out to[email protected] before turning on
enableDriversLicenseValidationbooleanEnable Driver License Verification check on the ID. This is a paid feature, reach out to[email protected] before turning on
enableDarkWebbooleanEnable dark web check. This is a paid feature, reach out to[email protected] before turning on
internalIdstringAn internal identifier for the verification within your organization. If provided it must be unique within your account or specific account group. Maximum length is 255 characters.
crosscheckReferenceIdstringReference ID for NIST IAL2 compliance verification.

stepTitles Object

Titles for steps of the verification process.

PropertyTypeDescription
FrontIdstringThe message shown on the ID screen.
Example: "Front ID".
FacestringThe message shown on the face screen.
Example: "Face".
DonestringThe message shown on the completion screen.
Example:"Done verifying".
IDCapturedstringThe message shown on the ID Captured screen.
FaceCapturedstringThe message shown on the Face Captured screen.
FullIdstringThe message shown on the Full ID screen.
StartstringThe message shown on the Start screen.
BackIdstringThe message shown on the Back ID screen.
DigitalIdstringThe message shown on the Digital ID screen.
ExplicitConsentstringThe message shown on the Explicit Consent screen.

theme Object

The theme object customizes the appearance of the JS Plugin. This includes setting colors, font styles, layout configurations, and more.

PropertyTypeDescription
namestringSpecifies the JS Plugin theme to use.
  • Default: avant
  • Enums: verbose , avant, classic (deprecated)
iconLabelColorstringHex value for Icon Label color.
Compatible with theme: verbose Example: '#413d3a'.
bgColorstringHex value for Background color. Compatible with theme: verbose
  • Example: '#FFFFFF'.
logoobjectLogo.
Compatible with theme: verbose, avant
Example:
\
logo: { src: 'https://www.vouched.id/wp-content/uploads/2020/11/vouched_logo_hi_res.png
', style: { 'max-width': 150, 'margin-bottom': 30 }}
navigationActiveTextstringHex value for navigation active text. Compatible with theme: verbose
Example: '#413d3a'.
iconColorstringHex value for Icon color.
Compatible with theme: verbose
Example: '#f6f5f3'.
iconBackgroundstringHex value for Icon Background color.
Compatible with theme: verbose
Example: '#c8ae8f'.
baseColorstringHex value for primary color.
Compatible with theme: verbose, avant
Example: '#4d7279'.
fontColorstringHex value for font color.
Compatible with theme: verbose
Example: '#413d3a'.
fontstringFont Family.
Compatible with theme: verbose, avant
Example: 'Open Sans'.
navigationActiveBackgroundstringHex value for background color of active breadcrumbs.
Compatible with theme: verbose
Example: '#bacbd1'.
navigationDisabledBackgroundstringHex value for background color of disabled breadcrumbs.
Compatible with theme: verbose
Example: '#bacbd1'.
navigationDisabledTextstringHex value for text color on disabled breadcrumbs.
Compatible with theme: verbose
Example: '#4d7279'.
secondaryButtonColorstringRGB value for color of the secondary buttons (Grey Retry Next button). Default: 'rgb(216, 216, 216)'.
handoffLinkColorstringHex value for text color in the Mobile Handoff verification link. Default: '#40a1ed'.
progressIndicatorTextColorstringHex value for text color of the progressIndicator in Avant theme. Default: '#000'.
commonobjectThis commonobject within the parent themeobject is responsible for applying styles to all global components used throughout the plugin.

theme.common Object

The common object provides global styles that apply across all plugin components. This includes styling for containers, typography, layout, and common interactive elements such as Inputs and Buttons.

Note: All common components have a nestedstyle object for CSS to be added.

PropertyTypeDescription
containerobjectTargets the main container of the plugin, setting general layout styles. This supports nested styles to control positioning, spacing, or responsiveness.
  • style: CSSProperties
layoutobjectConfigures the layout styling, including header, body, and footer sections within the plugin. Use this to control each section's margins, paddings, and alignments.
  • header: theme.common.layout.header.style-CSSProperties
  • body: theme.common.layout.body.style-CSSProperties
  • footer: theme.common.layout.footer.style - CSSProperties
layout.headerobjectControls the header section of the plugin globally across all screens. Use this to control the top section of the plugin (margin, padding, colors, etc..).
  • style: CSSProperties
layout.bodyobjectControls the body section of the plugin globally across all screens. Use this to control the mid section of the plugin (margin, padding, colors, etc..).
  • style: CSSProperties
layout.footerobjectControls the footer section of the plugin globally across all screens. Use this to control the main action area across all screens.
  • style: CSSProperties
fontobject
  • family: string
  • url: string
Set the font-family for the plugin. Note: url is optional but must be provided if not using a system font.
headingsobjectSet global styles for all headings across the plugin.
  • style: CSSProperties
  • h1: { style?: CSSProperties }
  • h2: { style?: CSSProperties }
  • h4: { style?: CSSProperties }
buttonsobjectSet global styles for all buttons across the plugin.
  • style: CSSProperties
  • camera: ButtonSettings
  • upload: ButtonSettings
  • mDL: ButtonSettings ButtonSettings: { iconRight?: string; iconLeft?: string; variation?: string; style?: CSSProperties }
inputsobjectSet global styles for all inputs across the plugin.
  • style: CSSProperties
dropdownsobjectSet global styles for all dropdowns used in the plugin.
  • style: CSSProperties

handoffView Object

Settings for displaying the QR code when Mobile Handoff is enabled.

PropertyTypeDescription
qRCodeSizenumber
  • Default: undefined The QR Code canvas element size in pixels. When undefined the size will be determined.
onlyShowQRCodeboolean
  • Default: false Only shows the QR code.
deviceCardboolean
  • Default: false Only shows the QR Code.
styles.titleobjectSets styles for the headline text on the Handoff Screen.
styles.descriptionobjectSets styles for the body text on the Handoff Screen
styles.crossDeviceImagestringUses image url to add an image to the Handoff Screen.
styles.buttonobjectControls the styles for the Handoff Screen button
styles.optionCardobjectSet styles for the handoff cards. Note: this requires deviceCard to be enabled.
styles.optionCard.titleobjectSet styles for the titles within the option cards on the Handoff Screen.
styles.optionCard.descriptionobjectSet styles for the description text within the option card on the Handoff Screen.

reverificationParameters Object

Settings for Reverification (if enabled).

PropertyTypeDescription
jobIdstringThe ID of the completed source verification job to reverify against.
matchstringDefault: selfie
Enums: id, selfie. Matches the captured image to either the source job's ID image or Selfie image.
internalIdstringThe optional internalId you provided in the Verification Object. Can be used instead of the jobId. Only one reference ID should be provided.

userConfirmation Object

Settings for user confirmation of photos (if enabled).

PropertyTypeDescription
confirmDatabooleanShows the user the extracted data after ID photo is processed.
confirmImagesbooleanShows the user each photo taken before photo is processed.

digitalId Object

Options for the mobile driver's license (mDL) verification flow.

PropertyTypeDescription
enabledbooleanWhen true, presents users with a Digital ID provider selection screen before the standard ID capture step. Users can verify using a supported digital credential (e.g. a state-issued mobile driver's license) instead of photographing a physical ID.

Unmount JS Plugin

vouched.unmount('#vouched-element')