Hi,
I could see that Hubspot is tampering with Authorise url. It removes the state from the url and adds uuid.
This is URL I am sending for aithorise:
?scope={scopes}&response_type=code&
redirect_uri={myRedirectURL}&
state={mystatevalue}&client_id={myAppcleintID}
when Hubspot opens the dialog box for enetering the creds, the URL looks like:
?client_id=[cleintID]&
redirect_uri={redirectURI}&
scope={scopes}
Post entering and login, I could see below URL:
https://app.hubspot.com/login?loginRedirectUrl=
{redirectURI}
client_id
%{cleintID}
redirect_uri%{myRedirectURI}
scope%{myscopes}&
uuid=someRandomnumberGenarated
It removes the state post succesful login and connecting to my account. I get code back in request params, but the state is missing.
It was working till sometime back. Is there any new Hubspot release caused this?
Sireprisinlgy this will not occur, if I login to Hubspot from different browser, and trying to connect again from authorise URI. This time it does not removes the state?
Please help me.