# OAuth scopes issue while setting up my public app

**URL:** <https://community.hubspot.com/t/oauth-scopes-issue-while-setting-up-my-public-app/138265>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [August 20, 2025, 6:11am UTC](https://community.hubspot.com/t/oauth-scopes-issue-while-setting-up-my-public-app/138265 "2025-08-20T06:11:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PBallerscheff](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@PBallerscheff](https://community.hubspot.com/u/PBallerscheff)\
**Post date:** [August 20, 2025, 6:11am UTC](https://community.hubspot.com/t/oauth-scopes-issue-while-setting-up-my-public-app/138265/1 "2025-08-20T06:11:05Z")

</div>

Hi everyone,

I’m running into an OAuth scopes issue while setting up my public app, and I could use some guidance.

Here are the details:

- **Scopes added in my HubSpot public app:  
 [Loom | Free Screen & Video Recording Software | Loom](https://www.loom.com/i/3d2b35f4296741a8886af73bb9d73468)**

- **Scopes defined in my code (SCOPES list):  
 [Loom | Free Screen & Video Recording Software | Loom](https://www.loom.com/i/25f8beed8e234e98ab9eb89c79000ce0)**

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 20, 2025, 5:34pm UTC](https://community.hubspot.com/t/oauth-scopes-issue-while-setting-up-my-public-app/138265/2 "2025-08-20T17:34:23Z")

</div>

Hey, @PBallerscheff 👋 One quick quesiton, in your Public App scopes, can you select the `crm.schemas.custom.write` scope? — Jaycee

---

<div class="post-metadata">

**Author:** ![PBallerscheff](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@PBallerscheff](https://community.hubspot.com/u/PBallerscheff)\
**Post date:** [August 21, 2025, 6:09am UTC](https://community.hubspot.com/t/oauth-scopes-issue-while-setting-up-my-public-app/138265/3 "2025-08-21T06:09:18Z")

</div>

Hi Jaycee! I am not able to select that option.

> **[Loom | Free Screen & Video Recording Software](https://www.loom.com/i/d10ccf7336a7407caf0453a2cf103ed1)**
>
> Use Loom to record quick videos of your screen and cam. Explain anything clearly and easily – and skip the meeting. An essential tool for hybrid workplaces.

What do I need to do in order for that to be an option?

---

<div class="post-metadata">

**Author:** ![RubenBurdin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rubenburdin/32/75212_2.png) [@RubenBurdin](https://community.hubspot.com/u/RubenBurdin)\
**Post date:** [August 22, 2025, 9:19pm UTC](https://community.hubspot.com/t/oauth-scopes-issue-while-setting-up-my-public-app/138265/4 "2025-08-22T21:19:34Z")

</div>

Hi @PBallerscheff

First thing: the “scopes not sufficient” error usually means the scopes your app is asking for in the URL don’t exactly match what you’ve enabled in the App settings.

Even a small mismatch (extra space, missing scope) can trigger that. HubSpot’s doc on scopes is useful here: ([Scopes - HubSpot docs](https://developers.hubspot.com/docs/guides/apps/authentication/scopes) )

For pipelines and deal stages, you’ll need crm.objects.deals.write plus crm.objects.schemas.write to manage pipeline definitions. The tricky part is that some scopes, like crm.schemas.custom.write, only show up for private apps today

They’re not yet available for public apps, which explains why you couldn’t select it. HubSpot confirms this here: ([Working with OAuth | OAuth Quickstart Guide - HubSpot docs](https://developers.hubspot.com/docs/guides/apps/authentication/oauth-quickstart-guide) )

To debug, install the app again but capture the full URL you’re redirected to. Check the scope= parameter against your developer app’s selected scopes. If the requested scope isn’t toggled in the developer UI, HubSpot will block the install even if your test account is Enterprise + Super Adminn

Practically, your current set should let you create deals, contacts, companies, and lists. But schema edits for custom objects are the sticking point you may need to test those via a private app until HubSpot exposes the scope for public ones.

And as a side note, since you mentioned connecting Supabase later: some teams sidestep these scope headaches by using a sync platform that handles OAuth, tokens, and retries in the background. Something like Stacksync keeps HubSpot and Supabase aligned in real-time without managing scopes manually.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![PBallerscheff](https://avatars.discourse-cdn.com/v4/letter/p/839c29/32.png) [@PBallerscheff](https://community.hubspot.com/u/PBallerscheff)\
**Post date:** [August 23, 2025, 1:18pm UTC](https://community.hubspot.com/t/oauth-scopes-issue-while-setting-up-my-public-app/138265/5 "2025-08-23T13:18:05Z")

</div>

Hi @RubenBurdin,

I want to make sure I’ve understood the split between **public** and **private** apps correctly, and check if my approach makes sense, based on what is currently possible in HubSpot:

**Public app →** client installs via OAuth link. This should handle everything that _is supported in public apps today_, namely:

- Creating properties for standard objects (contacts, companies, deals) — e.g. our “8 custom properties” that we add in every client portal.
- Creating and managing records (contacts, companies, deals).
- Creating lists and list memberships.
- Creating views.
- Creating tasks.
- Creating email templates.
- Creating meetings.

That way, I can push out a consistent “standard manifest” across all client portals via the public app.

**Private app →** since pipelines and custom objects/schemas aren’t available to public apps yet, I’d handle those per client using a private app. That would cover:

- Creating pipelines and pipeline stages.
- Creating pipeline popups.
- Creating custom objects and schemas.

My current thinking for the workflow is:

1. Client installs the public app first.

2. For the **custom schema step** (pipelines, pipeline popups, custom objects), either:

That way, clients never have to code or configure APIs themselves, but I can still apply our full standard setup.
