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:
Create a Client: In the Zoho API Console (api-console.zoho.com), I create a new Server-based Application.
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:
Authorization URL: https://accounts.zoho.com/oauth/v2/auth?access_type=offline
Token URL: https://accounts.zoho.eu/oauth/v2/token
Scope: Desk.tickets.READ (I started with the simplest scope to rule out errors here).
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.
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).