<?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: Integration with OAuth 2.0 in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237384#M16280</link>
    <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/ankit"&gt;@Ankit&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;At this time, redirect URIs cannot contain query parameters, so they are stripped. (See &lt;A href="https://integrate.hubspot.com/t/oauth-redirect-uri-with-custom-parameters/13406"&gt;this similar topic&lt;/A&gt;.)&lt;/P&gt;
&lt;P&gt;Could you describe your use case in more detail? What types of parameters and values are you passing at this stage in the connection process?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Oct 2018 13:34:01 GMT</pubDate>
    <dc:creator>IsaacTakushi</dc:creator>
    <dc:date>2018-10-23T13:34:01Z</dc:date>
    <item>
      <title>Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237383#M16279</link>
      <description>&lt;H1&gt;Initiate an Integration with OAuth 2.0 with the redirect url in passing other options like type=abcd,&lt;/H1&gt;
&lt;P&gt;so after passing the options, but remove my option. so any other idea or method for passing the parameter with static values.&lt;/P&gt;
&lt;P&gt;this is the my request URL: let auth_url = login + "/oauth/authorize?client_id=" + clientid + "&amp;amp;scope=contacts%20automation&amp;amp;redirect_uri=" + redirect + "&amp;amp;type=abcd";&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 11:34:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237383#M16279</guid>
      <dc:creator />
      <dc:date>2018-10-23T11:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237384#M16280</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/ankit"&gt;@Ankit&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;At this time, redirect URIs cannot contain query parameters, so they are stripped. (See &lt;A href="https://integrate.hubspot.com/t/oauth-redirect-uri-with-custom-parameters/13406"&gt;this similar topic&lt;/A&gt;.)&lt;/P&gt;
&lt;P&gt;Could you describe your use case in more detail? What types of parameters and values are you passing at this stage in the connection process?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 13:34:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237384#M16280</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-10-23T13:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237385#M16281</link>
      <description>&lt;P&gt;i passed the parameter with static value and after i get the same value in redirect page? is it possible?&lt;/P&gt;
&lt;P&gt;like : i call Integration with OAuth 2.0&lt;/P&gt;
&lt;P&gt;&lt;A href="https://app.hubspot.com/oauth/authorize?client_id=xxxx-xxx-xxx&amp;amp;scope=contacts%20automation&amp;amp;redirect_uri=https://localhost:3000/integration/auth?token=HubSpot" class="onebox" target="_blank" rel="nofollow noopener"&gt;https://app.hubspot.com/oauth/authorize?client_id=xxxx-xxx-xxx&amp;amp;scope=contacts%20automation&amp;amp;redirect_uri=https://localhost:3000/integration/auth?token=HubSpot&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;but i can't get the token paramter with value in redierct page,&lt;/P&gt;
&lt;P&gt;but get this type of return url :&lt;BR /&gt;
&lt;A href="https://localhost:3000/integration/auth?token&amp;amp;code=xxxxx-xxx-xxxx" class="onebox" target="_blank" rel="nofollow noopener"&gt;https://localhost:3000/integration/auth?token&amp;amp;code=xxxxx-xxx-xxxx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 13:37:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237385#M16281</guid>
      <dc:creator />
      <dc:date>2018-10-23T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237386#M16282</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/ankit"&gt;@Ankit&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;No, that is not possible at this time. All custom query parameters are removed.&lt;/P&gt;
&lt;P&gt;What kinds of tokens or values are you trying to pass?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 20:51:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237386#M16282</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-10-24T20:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237387#M16283</link>
      <description>&lt;P&gt;Thanks for quick replay,&lt;/P&gt;
&lt;P&gt;passing just simple static values of identifying and run custom query.&lt;/P&gt;
&lt;P&gt;Like :: i pass the key="value" if i just get return the key and value in url, after fire custom action on db and other.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 04:46:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237387#M16283</guid>
      <dc:creator />
      <dc:date>2018-10-25T04:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237388#M16284</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/ankit"&gt;@Ankit&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately, it's not possible to pass any custom query parameters in the redirect URI.&lt;/P&gt;
&lt;P&gt;If you need to get identifying information for the portal which is integrating with you, one way is to use &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/get-access-token-information"&gt;this endpoint&lt;/A&gt;, though.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:58:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237388#M16284</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-10-25T11:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237389#M16285</link>
      <description>&lt;P&gt;Does the HubSpot OAuth 2.0 support the state parameter (i.e. &lt;A href="https://auth0.com/docs/protocols/oauth2/oauth-state" rel="nofollow noopener"&gt;https://auth0.com/docs/protocols/oauth2/oauth-state&lt;/A&gt;) on the initial authorization request?  If so, that is typically the way to pass data from the initial auth request to the redirect url.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 13:34:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237389#M16285</guid>
      <dc:creator>Eric_Wood</dc:creator>
      <dc:date>2018-10-25T13:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with OAuth 2.0</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237390#M16286</link>
      <description>&lt;P&gt;Thanks for the input, &lt;A class="mention" href="https://community.hubspot.com/u/eric_wood"&gt;@Eric_Wood&lt;/A&gt;. Per &lt;A href="https://integrate.hubspot.com/t/oauth2-questions-about-state-and-correlationid/2682"&gt;this topic&lt;/A&gt;, the &lt;CODE&gt;state&lt;/CODE&gt; parameter does seem to be supported.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 13:48:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Integration-with-OAuth-2-0/m-p/237390#M16286</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-10-25T13:48:50Z</dc:date>
    </item>
  </channel>
</rss>

