I created the app in Entra and have the secret key, but when I try to conclude the connection by clicking on the “connect my account” button, I am redirected to a page on my website with a 404 error and I can’t authorize the app to connect to my account.
When I test my workflows, I get the following error: “Unable to sign without access token.”
I use Azure to store n8n with the link: https://n8n.laizy.io/. Laizy.io is my domain, so maybe the problem comes from that?
In your app the redirect URI needs to be the one that n8n gives you which will likely be something like “https://n8n.laizy.io/rest/oauth2-credential/callback” It looks like you have set the wrong URL and that is why you are being sent to your site and not n8n.
When you access n8n is that the url you use? When I check https://laizy.io directs to your website but https://n8n.laizy.io directs to n8n.
It looks like you have also set WEBHOOK_URL to the wrong value so you will need to make sure that is https://n8n.laizy.io which is the acutal URL for your n8n instance.