OAUTH2 isn't working with Power Automate and N8N (Zoho Desk)

OAUTH2 isn't working with Power Automate and N8N (Zoho Desk)

Hello,

I am trying to set up an OAuth2 connection to the Zoho Desk API, but the authentication flow fails immediately. I am experiencing this issue in two separate platforms: Microsoft Power Automate (using a Custom Connector) and n8n.

Instead of being redirected to the Zoho login and consent screen, I am immediately forwarded to a generic Zoho error page with the message "An error occurred while processing your request."

Here is the process I am following:

  1. Create a Client: In the Zoho API Console (api-console.zoho.com), I create a new Server-based Application.

  2. Configure the Client: I take the new Client ID and Client Secret and configure the OAuth2 connection in my application (Power Automate or n8n). I am using the correct EU datacenter endpoints:

  3. Update Redirect URI: The application (Power Automate/n8n) generates a Redirect URI. I copy this URI and paste it exactly into the "Authorized Redirect URIs" field for my client in the Zoho API Console and save the client.

  4. Initiate Connection: I start the authentication flow from my application.

Expected Result: I expect to be redirected to the Zoho login page, and after logging in, to a consent screen asking me to grant the requested permissions (scope).