<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OAuth2 authorization for Private Apps issues in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605492#M52079</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;
&lt;P&gt;The issue here appears to be that you are trying to install a private app as a public OAuth app.&amp;nbsp; As &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/149212"&gt;@edossantos&lt;/a&gt; mentioned it was working, but it was undocumented and not the intent of private apps.&amp;nbsp; Earlier this week, the product team closed that loop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a public app, the best route to authenticate is with &lt;A href="https://developers.hubspot.com/docs/api/oauth-quickstart-guide" target="_blank" rel="noopener"&gt;OAuth&lt;/A&gt;.&amp;nbsp; If you are building an app for a single portal, the better option would be to use a private app as &lt;A href="https://developers.hubspot.com/docs/api/private-apps" target="_blank" rel="noopener"&gt;documented here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Another reason that you would use OAuth is if you needed access to our webhooks which are not available yet for private apps.&lt;/P&gt;
&lt;P&gt;Sorry for any confusion this may have created!&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 22:58:59 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2022-03-31T22:58:59Z</dc:date>
    <item>
      <title>OAuth2 authorization for Private Apps issues</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/604233#M51988</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our customers use Private Apps to integrate with our product (3CX Phone System). Basically they create a Private App, configure the required scopes, and then configure the Client ID and Client Secret on our side to start the OAuth2 authorization flow. When they do this, they get this error from HubSpot:&lt;/P&gt;&lt;H5&gt;Couldn’t complete the connection&lt;/H5&gt;&lt;DIV class=""&gt;The app developer doesn't have permissions to request the set of scopes. Please contact the app developer.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edossantos_0-1648639669371.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/62795i6D67804A41EE38F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edossantos_0-1648639669371.png" alt="edossantos_0-1648639669371.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;We verified that the scopes required by us, are exactly the same as the ones declared in the Private App:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;crm.objects.contacts.read&lt;/LI&gt;&lt;LI&gt;crm.objects.contacts.write&lt;/LI&gt;&lt;LI&gt;crm.objects.companies.read&lt;/LI&gt;&lt;LI&gt;crm.objects.owners.read&lt;/LI&gt;&lt;LI&gt;timeline&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edossantos_1-1648639779141.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/62796i0DB3B65EF27A608D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edossantos_1-1648639779141.png" alt="edossantos_1-1648639779141.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, we created a public app using a developer account, and configured the same scopes, and from there the OAuth2 authorization works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that we're not using the Access Token that you can directly get from the Private App page, instead we use the Client ID and Client Secret which are visible under "Show other credentials" for the private app. Is there any known issue related to OAuth2 authorizations with private apps? Any hint you can provide?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 11:34:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/604233#M51988</guid>
      <dc:creator>edossantos</dc:creator>
      <dc:date>2022-03-30T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 authorization for Private Apps issues</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605393#M52070</link>
      <description>&lt;P&gt;I'm wondering if auth2 authorizations worked at any point for private apps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/The-app-developer-doesn-t-have-permissions-to-request-the-set-of/m-p/605360#M52063" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/The-app-developer-doesn-t-have-permissions-to-request-the-set-of/m-p/605360#M52063&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 16:44:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605393#M52070</guid>
      <dc:creator>SeanCullen</dc:creator>
      <dc:date>2022-03-31T16:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 authorization for Private Apps issues</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605433#M52073</link>
      <description>&lt;P&gt;Yes, this was definitely working in the past, we tested this in many installations, and we have many customers that were using this without any issues. This was broken just now....&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 17:39:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605433#M52073</guid>
      <dc:creator>edossantos</dc:creator>
      <dc:date>2022-03-31T17:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 authorization for Private Apps issues</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605450#M52075</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/149212"&gt;@edossantos&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp; Good to know, I picked a **bleep** day to try auth with Private Apps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Others seem to have similar problem since yesterday (&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Private-App-OAuth/m-p/603764#M51966" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Private-App-OAuth/m-p/603764#M51966&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 18:06:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605450#M52075</guid>
      <dc:creator>SeanCullen</dc:creator>
      <dc:date>2022-03-31T18:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: OAuth2 authorization for Private Apps issues</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605492#M52079</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;
&lt;P&gt;The issue here appears to be that you are trying to install a private app as a public OAuth app.&amp;nbsp; As &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/149212"&gt;@edossantos&lt;/a&gt; mentioned it was working, but it was undocumented and not the intent of private apps.&amp;nbsp; Earlier this week, the product team closed that loop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a public app, the best route to authenticate is with &lt;A href="https://developers.hubspot.com/docs/api/oauth-quickstart-guide" target="_blank" rel="noopener"&gt;OAuth&lt;/A&gt;.&amp;nbsp; If you are building an app for a single portal, the better option would be to use a private app as &lt;A href="https://developers.hubspot.com/docs/api/private-apps" target="_blank" rel="noopener"&gt;documented here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Another reason that you would use OAuth is if you needed access to our webhooks which are not available yet for private apps.&lt;/P&gt;
&lt;P&gt;Sorry for any confusion this may have created!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 22:58:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/OAuth2-authorization-for-Private-Apps-issues/m-p/605492#M52079</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-03-31T22:58:59Z</dc:date>
    </item>
  </channel>
</rss>

