For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Contact UsSign In
HomeIntegrationsGuidesBrand Assets
HomeIntegrationsGuidesBrand Assets
  • Supported Applications
    • Overview
    • Shopify
    • Azure
  • Configurations
    • Overview
    • Configuration Standards
  • Deploy and Monitor
    • Overview
    • Quality Assurance Testing
    • Launching in Production
    • Monitoring Performance
    • Conversion Tracking
    • Help
  • Sample Code
    • Overview
      • Python
      • PHP
      • Ruby
      • Ruby on Rails
      • React Axios
      • JavaScript
      • jQuery
      • OIDC Ruby
  • Terms of Service
    • Developers
    • Partners
LogoLogo
Contact UsSign In
On this page
  • Prerequisites
  • Installation
  • Steps for a successful verification
  • Steps for an unsuccessful verification
  • Sample Error Messages
Sample CodeOptions

React Axios

Was this page helpful?
Edit this page
Previous

JavaScript

Next
Built with

Version 1.0 Released December 13, 2021

View on Github

This sample code showcases how partners can integrate the ID.me verification tool onto their React application

You will need an ID.me developer account to complete this process

Prerequisites

You must have react, javascript, and npm installed

Installation

1

Download the code

2

Navigate to the project directory and run

$npm start

Steps for a successful verification

1

Select the Verify With ID.me button

2

Continue through the user flow

3

Allow the release of data

4

Check the console for user data

Steps for an unsuccessful verification

1

Select the Verify With ID.me button

2

Continue through the user flow

3

Deny the release of data

4

See the appropriate error message

Sample Error Messages

  • Invalid Request
  • Invalid Client
  • Invalid Redirect URI
  • Access Denied
  • Unsupported Response Type
  • Invalid Scope