Describe the problem/error/question
I’m encountering an issue when setting up an OAuth2 integration with GoHighLevel in n8n.
The authentication flow does not complete because the login window fails to actually log in the user. The popup redirects to the GoHighLevel login screen, but after clicking “Login”, nothing happens. The user is not authenticated, and the OAuth process does not proceed.
This issue does not occur when I manually paste the authorization URL in a normal browser tab. It only happens within the popup window triggered by n8n when clicking “Connect” in the credentials panel.
What is the error message (if any)?
There’s no explicit error, but the OAuth popup displays the following message:
“Please login to HighLevel to continue”
(even if I’m already logged in)
Clicking the Login button reloads the same page without progressing.
Please share your workflow
Please share your workflow
OAuth2 credential created with the following values:
• Auth URL: https://marketplace.gohighlevel.com/oauth/authorize
• Token URL: https://marketplace.gohighlevel.com/oauth/token
• Client ID / Secret: (valid and verified)
• Redirect URI: https://oauth.n8n.cloud/oauth2/callback
• Scope: (long but valid list, also tested with basic ones like contacts.readonly contacts.write)
• Grant Type: Authorization Code
• Authentication Method: Header
Manually opening the auth URL works fine and I can retrieve the code, but the popup from n8n is unable to maintain the session/login state.
## Share the output returned by the last node
Not applicable – issue occurs during credential setup, not during workflow execution.
OAuth popup should correctly retain the session and allow GoHighLevel login to complete. After logging in and choosing a location, it should redirect back to n8n with the code parameter.