I have the following problem, I am trying to connect my n8n which is hosted on one of my virtual machines inside an enterprise network with Microsoft Azure. After watching a tutorial and creating the app, when I want to make the connection from n8n I get the following error:
Unable to access this website.
The localhost page has refused the connection.
The URL I enter in Azure is the one provided by n8n:
http://localhost:5678/rest/oauth2-credential/callback
Also, in a tutorial I saw on Youtube, it does not have this problem and manages to authenticate well both things.
Some considerations: my Azure account is Admin, so the permissions to enable the N8N application are sufficient. If anyone knows or already tried to do it, I would appreciate your help, thank you very much!