APIs & Integrations

Pavlo_Kozhushko
Participant

OAuth2.0 not redirecting to callback URI after login

So, when I have tried to get the access key via oAuth and I was non-authorized after login via Google SSO redirection not happing, if I already login everything fine.

Seems, that after login to HubSpot we will lose all query parameters at URL.

 

Have I some missed? 

0 Upvotes
4 Replies 4
RTdev
Member

OAuth2.0 not redirecting to callback URI after login

Hi all! Has someone managed to find a solution to this problem? We've stumbled upon it now, and there seems to be no way around it, unfortunately 😞

0 Upvotes
ERuseckas
Member

OAuth2.0 not redirecting to callback URI after login

Hello, I'm experiencing the same issue.

 

1. using oauth: https://app.hubspot.com/oauth/authorize?client_id=MY_CLIENT_ID&redirect_uri=MY_URL&scope=MY_SCOPE&state=MY_STATE 

 

2. user is not logged in, so user is redirected to: https://app.hubspot.com/login/?loginRedirectUrl=https%3A%2F%2Fapp.hubspot.com%2Foauth%2Fauthorize%3Fclient_id%3DMY_CLIENT_ID%26redirect_uri%3DMY_URL%26scope%3DMY_SCOPE%26state%3DMY_STATE 

 

3. after user logs in instead of redirecting properly user is kept inside Hubspot: https://app-eu1.hubspot.com/home-beta 

 

is there any way around it?

0 Upvotes
adonmez
Member

OAuth2.0 not redirecting to callback URI after login

Hey, can someone post a solution here, so others can find the answer right away.

Thank you!

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

OAuth2.0 not redirecting to callback URI after login

Hey @Pavlo_Kozhushko ,

I am wondering if @Drishtii_ or @thesnappingdog could assist you here 😀

0 Upvotes