Dub supports OAuth 2.0 authentication, which is recommended if you build integrations extending Dub’s functionality.
This example demonstrates how to authenticate users with Dub OAuth 2.0 flow.
Follow the steps below to get started:
http://localhost:3000/api/oauth/callbackhttps://yourdomain.com/api/oauth/callbackClient ID and Client Secret values and paste them into the .env file as DUB_CLIENT_ID and DUB_CLIENT_SECRET respectively.Track how your links are converting to sales on Stripe.
Track how your links are converting to sales on Shopify.
Send and receive events between your Dub and Segment workspaces.
Track how your links are converting to meeting bookings on Cal.com.
Connect your Dub workspace to 7,000+ apps via Zapier.
Connect your Dub workspace to 2,000+ apps via Make.com.
Use Dub's API to build integrations and share them to get featured in our marketplace.
Build a Dub integration