Testing oauth v1 apps

test_portals
oauth

#1

We have a custom integration that is still using oauth v1. I was just put on the account, so I set up and account and created a dev portal to do some testing. When I make the auth call through my web app though the response doesn’t come back the same as it does when I make the same call with the live app.

I’m assuming that dev portals can’t make oauth v1 requests anymore. Is there no way to allow v1 requests at all?


#2

Hi @thejacer87

Developer portals don’t have access to most of the tools you’d normally have in your regular account. Any testing you do should be done with a separate test portal that you create from inside the developer account.


#3

so if my client’s integration is still using oauth v1, there’s no way for me to test it?


#4

Developer portals won’t work with either Oauth 1 or Oauth 2, but test portals can work with both of those.

You will however need to test OAuth 1 using the existing HubSpot app, as new apps will only work with Oauth 2.0. Older apps will still be able to authorize with OAuth 1.


#5

Developer portals won’t work with either Oauth 1 or Oauth 2, but test portals can work with both of those.

I don’t understand, the article you linked to says to sign in with my developer account. So that creates a dev portal? But your saying I need to create a test portal?

But how can I do that? When log in to app.hubspot.com there is no test portal button in the menu:


#6

That screenshot looks like it’s from one of our CRM accounts, not a developer account. Depending on what you’re testing, you may be able to test with the account you already have, but CRM accounts won’t have access to the marketing tools or APIs (generally this would include anything content related).

Otherwise, you can create a developer account from here:
https://app.hubspot.com/signup/developers/