I’m having an issue with Google Sheets OAuth2 authentication. The OAuth redirect URL is generated without the https:// protocol, causing Google to return “Error 400: invalid_request”.
Current (Wrong):n8n.[domainname].com/rest/oauth2-credential/callback Expected (Correct):https://n8n``.[domainname].com/rest/oauth2-credential/callback
I’m running n8n via Coolify with reverse proxy (no port in URL). I’ve restarted the service multiple times and recreated credentials, but the issue persists.
What am I missing? How can I force n8n to generate the OAuth URL with https://?