Auth via api php

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

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

1. Open page HubSpot Login and Sign in
After login
2.Open page Accounts Dashboard | HubSpot
The problem is there was no redirect

I need this redirect to get authorization code

How to fix it? Thx for help

Hey @AHryshkevich

Welcome to the Community!

@prosa is my new go to for all things OAuth :grinning_face:

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

There is also a good Academy class on it

But why was no redirect to my redirect_uri?

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 ?