React Axios

Version 1.0 Released December 13, 2021 View changelog 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