Do you support a React (Web) integration?

Yes! You can integrate our client-side SDK into your React app with just a few simple steps.

 

Screen Shot 2021-09-16 at 5.01.39 PM

Getting Started

You can easily integrate Passbase in your React app to ensure maximum security on your platform. You will then need to configure your backend to receive the Passbase webhook events, and call the Passbase API using one of our server-side libraries:

  1. Create a Passbase developer account if you have not done so, sign-up here
  2. Integrate the Verification flow with one of our client-side SDKs, React in this case
    • Store identityAccessKey returned from the onFinish or onSubmitted method
  3. Set up Webhooks, so that you are notified about completed or reviewed verification events
  4. Optional - Enable the Biometric Authentication flow
  5. Integrate one of our server-side libraries in your backend to query the Passbase API for details about a verification using identityAccessKey (client-side SDK) or key (from the webhook)

Please use only your publishable API key for integrations. Secret API keys can access sensitive user data, if leaked. To learn more about the differences between publishable and secret API keys, please see our documentation.

 

Steps to Integrate Passbase with React

  1. Install the package through npm or yarn
  2. Obtain an API key from our developer platform
  3. Render a Passbase verification button and handle the result
    1. To speed up this process, you can prefill email address, country, and metadata
  4. If desired, customize the UI with dark theme

Please see our documentation for more detailed instructions. You can also reach our support team at support@passbase.com.