Adding social login with HubSpot to your app with Clerk is simple - you only need to set the Client ID, Client Secret and Authorized redirect URI in your instance settings.
To make the development flow as smooth as possible, Clerk uses preconfigured shared OAuth credentials and redirect URIs for development instances - no other configuration is needed.
For production instances, you will need to create your own developer account with HubSpot and generate your own Client ID and Client secret.
You need to have a HubSpot Developer account. To create one, click here.
First, you need to create a new HubSpot app and enable OAuth support. Follow the official HubSpot Creating an App guide.
Once your app is created, click on the Auth tab and copy the App Id and Client Secret, as shown below.
Go to the Clerk Dashboard, select your Application, and navigate to Instances ➜ Settings ➜ User Management ➜ SSO. Click the Manage credentials button under the TikTok provider, select Custom profile and paste the values you obtained during the previous step.
Before you close the Manage credentials modal, copy the Authorized redirect URI. Go back to the HubSpot panel and paste it into the Redirect URL field and click Save.
Don't forget to click Apply in the Clerk dashboard. Social login with TikTok is now configured 🔥
Learn how to add social login with HubSpot to your Clerk application by following the Social login (OAuth) guide.