Hubspot Oauth 2.0 Localhost


#1

Hello,
Is it possible to use localhost in redirect_uri ? If yes then what I need to do to get it working ?


#2

Hi @Bhojraj_Bendale,

You might find the following topic helpful in this situation. For testing, you can use any secure site as a redirect (e.g. https://www.hubspot.com). You could also create a self-signed certificate or potentially use something like ngrok. When you push it live you will need to have an encrypted web server to host your front-end app.


#3

@Derek_Gervais but this is just a waste of time for developers: running an app in local dev environment behind SSL/HTTPS web server with self signed cert. Why wouldn’t you just allow using http://localhost redirect uri?