I have the last version of n8n installed in a Hetzner VPS with Docker, I’m able to connect to APIs but not to google service via Oauth, the google account is from workspaces, I have setup the cloud service for internal use, there is no URI missmatch, I’m able to get to the scopes screen but it keeps stuck when I click authorize, tried in different browsers, incognito, and VPN and the result is the same.
When I open the inspector console I get a: Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
if I follow the url it says: Your client has issued a malformed or illegal request. That’s all we know.
Turned out it was my VPS configuration, if you setup a VPS and you are getting errors connecting to services via oauth or connecting webhooks, make sure that the webhook urls created in n8n dont include the port number, that was the problem for me, the fix was to reconfigure the docker-compose.yml file and the nginx configuration file (I used Claude to help me)