I am making one extension that is integrating both Zoho CRM and HubSpot API. So in that extension, I am fetching all the contacts of Zoho CRM accounts to the HubSpot account. I have done this with my o auth verification"https://github.com/HubSpot/oauth-quickstart-nodejs" with this link but now the problem is when any other user will install our extension he won't follow the whole documentation right? So how we will take the user's client id secret id and access token from the user so that he will directly redirect to their contact page of Hubspot account .
I think you have the process confused. They will only need to click a link which lead them to choose their portal, then accept the permissions requested and then the will be redirected to wherever you decide. The app will then be installed on the portal.