We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Apr 11, 2022 11:57 AM
Hello,
Over the past year (since this post), have any options opened up for using OAuth2 with HubSpot without passing a client secret?
I'm working on an integration to HubSpot that is client hosted in a scenario somehwat similar to a single-page application (SPA).
Storing/using a client secret in this scenario is not ideal. It would be much better to use OAuth2's Authorization Code Flow with Proof Key for Code Exchange (PKCE), which avoids the need for that secret.
Hoping there's an option to do this. 🙂
In worse case, I may have to fall back to using private app registrations, but that may preclude my integration from being listed in the App Marketplace. 😞
Thank you!
Solved! Go to Solution.
Apr 18, 2022 1:38 PM
Apologies for the delayed response. The answer in that post still holds true 😥
I would suggest creating an idea and posting the idea link on this thread for anyone else looking for this functionality to upvote it.
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |
Apr 20, 2022 9:29 AM
Thank you, @dennisedson! Done.
Here's the link to the Idea proposing this change: https://community.hubspot.com/t5/HubSpot-Ideas/OAuth2-Support-Authorization-Code-Flow-with-Proof-Key...
Apr 18, 2022 1:38 PM
Apologies for the delayed response. The answer in that post still holds true 😥
I would suggest creating an idea and posting the idea link on this thread for anyone else looking for this functionality to upvote it.
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |
Apr 20, 2022 9:29 AM
Thank you, @dennisedson! Done.
Here's the link to the Idea proposing this change: https://community.hubspot.com/t5/HubSpot-Ideas/OAuth2-Support-Authorization-Code-Flow-with-Proof-Key...