APIs & Integrations

lballard702
Participant

OAuth2.0 Endpoint Shows Blank Page

I'm creating a custom connector from Microsoft flow to HubSpot, but when I get redirected to the Authentication URL the page shows up blank. I think that flow is doing something to the link when redirecting me to that page.

 

This is the URL I put into the Microsoft Flow "Authorizaiton URL": 

https://app.hubspot.com/oauth/authorize?client_id=5434758e-791e-4d2c-8191-aecb8fbd9516&scope=contact...

 

This is the URL that I am being redirected to in order to "sign in" to my hubspot account (this is the page that shows up blank):

https://app.hubspot.com/oauth/authorize?client_id=5434758e-791e-4d2c-8191-aecb8fbd9516&scope=contact...

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

OAuth2.0 Endpoint Shows Blank Page

hey @lballard702 , 

Did you figure this out?

 

 

0 Upvotes
lballard702
Participant

OAuth2.0 Endpoint Shows Blank Page

Yup! @dennisedson 

Now I'm just having an issue with the request...

 

Invalid input JSON on line 1, column 15: Cannot construct instance of `java.util.LinkedHashMap` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('[
{
"property": "email",
"value": "slimshady@example.com"
},
{
"property": "firstname",
"value": "Slim"
},
{
"property": "lastname",
"value": "Shady"
},
{
"property": "website",
"value": "http://example.com"
},
{
"property": "company",
"value": "Eminem"
},
{
"property": "phone",
"value": "000-123-4567"
}
]')

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

OAuth2.0 Endpoint Shows Blank Page

hey @lballard702 ,

If this is your complete json body, you are missing the properties array which will wrap all of the property objects

You can see an example here

 

Glad you almost have it!

0 Upvotes