Browse all
Built by
Pearset
Category
Screenshot 1
Screenshot 2
Screenshot 3

Pearset supports OAuth 2.0 authentication, which is recommended if you build integrations extending Pearset’s functionality.

This example demonstrates how to authenticate users with Pearset OAuth 2.0 flow.

Getting Started

Follow the steps below to get started:

  1. Create a new Integration in your Pearset workspace.
  2. Fill in all the appropriate fields.
  3. Make sure to set your redirect URIs:
    1. Local development: http://localhost:3000/api/oauth/callback
    2. Production: https://yourdomain.com/api/oauth/callback
  4. Copy the Client ID and Client Secret values and paste them into the .env file as DUB_CLIENT_ID and DUB_CLIENT_SECRET respectively.
  5. Install the dependencies and start the app.
  6. Click the Sign in with Pearset button to initiate the OAuth flow.

Integrate with Pearset

Use Pearset's API to build integrations and share them to get featured in our marketplace.

Build a Pearset integration