I'm trying to fetch data from the APIs. For authentication I'm using OAuth2.0.
client_id: XXXXXXXX
redirect_uri: https://localhost/hubspot_callback
scope: contacts,business-intelligence
After authenticating the account, the grant access popup is not showing up. The loader symbol is being shown and not being redirected to the redirect_uri.
Is there something I'm missing? I tried it with multiple accounts, tried clearing cookies. But I'm stuck with the same error.
I was working on developing a HubSpot application last week and encountered the same problem. The solution is to not use localhost in the redirect URI, use an address that is publically accessible.
Are you trying to authorize with the super-admin user? If not then I would recommend you to try once by super-admin user role. This will ensure that the person installing the integration has all of the required roles to approve the application.