I’m working on an integration where n8n connects to the GoHighLevel API through a custom Marketplace app. The workflow needs to get/create contacts in multiple sub-accounts where the app is installed.The problem:
-
When I authorize sub-account A via OAuth2, everything works fine.
-
As soon as I authorize sub-account B, the connection to A gets invalidated.
-
I can’t keep more than one sub-account active at the same time.
My questions:
-
Is there a way to authenticate once for multiple sub-accounts?
-
If I already installed the app in my sub account, why do i need to authenticate again? isn’t the OAuth2 client id/secret enough?
-
Has anyone implemented this pattern successfully in n8n? Any guidance, examples, or best practices for handling this would be much appreciated.