APIs & Integrations

lballard702
参加者

Authorization, Token, and Refresh URL

解決

I am working on a custom connector in microsoft flow that needs to know the Authorization, Token, and Refresh URL of my hubspot app. I don't know where to find the Token and Refresh URLs and when I use the Authorization URL to try to connect to my hubspot account from flow it brings up a blank webpage when I am expecting it to bring up the authorization page. 

lballard702_0-1600265824990.pnglballard702_1-1600265880487.png

I ended up finding a resource to get the access and refresh tokens, but my request is failing. Here is the screenshot of that...

lballard702_0-1600268454758.png

 

0 いいね!
2件の承認済みベストアンサー
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Authorization, Token, and Refresh URL

解決

Hi @lballard702 !

I hope you are well.  I am wondering if you were able to find these resources of any use

Working with OAuth

OAuth Quickstart Guide

Managing Tokens


Thanks!

 

元の投稿で解決策を見る

lballard702
解決策
参加者

Authorization, Token, and Refresh URL

解決

I figured out that Microsoft Flow automatically appends the redirect url to the authorization url and that's what the problem was. For anyone doing this in the future just make sure your authorization url in flow end with the client id and doesn't have anything following it so that flow can create the link correctly.

元の投稿で解決策を見る

4件の返信
AZandberg
参加者

Authorization, Token, and Refresh URL

解決

Hi @lballard702 

 

Can you expand a little more on exactly what you input into the 3 fields you asked about? Authorization, Token and Refresh URL's specifically, I'm going around in circles.

 

Many thanks.

0 いいね!
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

Authorization, Token, and Refresh URL

解決

Hi @lballard702 !

I hope you are well.  I am wondering if you were able to find these resources of any use

Working with OAuth

OAuth Quickstart Guide

Managing Tokens


Thanks!

 

lballard702
参加者

Authorization, Token, and Refresh URL

解決

@dennisedson 

I've been looking at the documentation. It seems like the authorization URL is incorrect. The initial screen after pinging HubSpot for access shows blank still. Here is the URL it is redirecting me too eventhough it's not what I have included as my authorization code in flow which is different.

 

HubSpot redirect URL: 

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

 

Microsoft Flow URL: 

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

0 いいね!
lballard702
解決策
参加者

Authorization, Token, and Refresh URL

解決

I figured out that Microsoft Flow automatically appends the redirect url to the authorization url and that's what the problem was. For anyone doing this in the future just make sure your authorization url in flow end with the client id and doesn't have anything following it so that flow can create the link correctly.