Reference: Get Information for OAuth 2.0 Access Token
Full Stop Blocker
Significant OAuth 2.0 security hole that we cannot allow HubSpot part of app solutions because of how it handles
[** ACCESS TOKEN **]
when requesting user profile.
Going through a security review, providing
[** ACCESS TOKEN **]
as part of the URL path to request the token’s user profile is unacceptable. In other words, a full stop security blocker to allow HubSpot integation to be part of our services.
curl --request GET
--url 'https://api.hubapi.com/oauth/v1/access-tokens/[** ACCESS TOKEN **]'
For all OAuth 2 implementations by other providers’ authentication services for retrieving user profile, the
[** ACCESS TOKEN **]
is within authentication bearer header.
For example… Could HubSpot provide access token information as follows using instead authentication bearer header?:
curl --request GET
--url 'https://api.hubapi.com/oauth/v1/user-info'
--header 'authorization: Bearer [** ACCESS TOKEN **]'
Until this OAuth 2.0 security issue is address, then my company will not ship our HubSpot integration effort.