APIs & Integrations

AHryshkevich
Member

Auth via api php

SOLVE

I.m integrating my web app with hubspot via API. When i make request to

https://app.hubspot.com/oauth/authorize  

 1. Open page https://app.hubspot.com/login/loginRedirectUrl=https%3A%2F%2Fgiftsenda.test%2Fhubspot%2Fauth
After login
2.Open page https://app.hubspot.com/myaccounts-beta
The problem is there was no redirect

I need this redirect to get authorization code

How to fix it? Thx for help

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Auth via api php

SOLVE

Hey @AHryshkevich 

Welcome to the Community!

@prosa is my new go to for all things OAuth 😀

In case you haven't seen the OAuth documentation here is a link

There is also a good Academy class on it

View solution in original post

0 Upvotes
3 Replies 3
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Auth via api php

SOLVE

Hey @AHryshkevich 

Welcome to the Community!

@prosa is my new go to for all things OAuth 😀

In case you haven't seen the OAuth documentation here is a link

There is also a good Academy class on it

0 Upvotes
AHryshkevich
Member

Auth via api php

SOLVE

I forcefully open the link 

https://app.hubspot.com/oauth/authorize

with parameters (client_id, scope, redirect_uri) in the browser and it responds "Couldn’t complete the connection This hub doesn't have access to some HubSpot features that are required by this integration. Please contact the integrator."
How to fix ?

0 Upvotes
AHryshkevich
Member

Auth via api php

SOLVE

But why was no redirect to my redirect_uri? 

0 Upvotes