# Working with OAuth

**URL:** <https://community.hubspot.com/t/working-with-oauth/31006>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [January 29, 2021, 5:49pm UTC](https://community.hubspot.com/t/working-with-oauth/31006 "2021-01-29T17:49:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucianoRufo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lucianorufo/32/31851_2.png) [@LucianoRufo](https://community.hubspot.com/u/LucianoRufo)\
**Post date:** [January 29, 2021, 5:49pm UTC](https://community.hubspot.com/t/working-with-oauth/31006/1 "2021-01-29T17:49:08Z")

</div>

Hello I’m a dev and I’m following this guide in order to connect a personal API with some hubspot services through OAuth so the Api key doesn’t travel via the URL. [Working with OAuth - HubSpot docs](https://developers.hubspot.com/docs/api/working-with-oauth) The only problem I’m getting is that I can’t seem to find how to configure the crm scopes and getting an invalid scopes message.

I leave pictures of what I’ve been following and investigating.

If someone can confirm that custom objecst are to be managed strictly through the use of the API Key.

Thank you.

 ![37261iE258DB09AA676ED3.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/d/7dea26f71e2fae26548182bf2509ca5607dd74e5.png)

 ![37260i2A244CDA5B7598CC.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/5/6570c75a0723fbfe9a32f42f32fe8afb993e6368.png)

 ![37262i2CFB0378592BF74D.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/a/4ac84c11cb91c12df5b170fd7d0eb4bbdd60d311.png)

 ![37263i3E485310EAADE522.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/3/63accc43ebd032c3b7044e35bff823d3f16e9a83.jpeg)

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [February 1, 2021, 7:35pm UTC](https://community.hubspot.com/t/working-with-oauth/31006/2 "2021-02-01T19:35:34Z")

</div>

Hey @LucianoRufo

Welcome to the Community!

You have to be ungated to create a Custom Object with OAuth

Check out this [page](https://developers.hubspot.com/docs/api/custom-objects-schema-pilot?)!
