Close, but not quite. I have successfully created a template and when I ran the helper script with -a authorize, I get

* OAuth 2.0 RFC 6749, 4.1.1. Authorization Request
  . To create an authorization code, please visit the shown URL:

   
https://accounts.zoho.com/oauth/v2/auth?response_type=code&client_id=1004.I13IZA9BOSHU900Q80NUDQJ558U00D&redirect_uri=http%3A%2F%2Flocalhost%3A37833%2F&scope=ZohoMail.accounts.READ+ZohoMail.folders.CREATE+ZohoMail.folders.READ+ZohoMail.folders.UPDATE+ZohoMail.folders.DELETE+ZohoMail.messages.CREATE+ZohoMail.messages.READ+ZohoMail.messages.UPDATE+ZohoMail.messages.DELETE&code_challenge=8fBBp02qaFWbwPy7rk38RK-CCpK3721oSy7UNfbiabQ&code_challenge_method=S256

When I went to the url, I was prompted to log in, but after that I got a screen with the error message "Invalid Redirect Uri
Redirect URI passed does not match with the one configured".

The Uri I am passing seemed to be "http://localhost:37833/";, if I am decoding the percent signs correctly. Where does the ":37833/" come from? I tried removing it, but got the same error message.

Then I tried starting over, giving http://localhost:37833/ as the redirect address of the app, but still the same error message.

Stephen Isard

On Tue, 10 Mar 2026, Steffen Nurpmeso steffen-at-sdaoden.eu |s-nail| wrote:

Steffen Nurpmeso wrote in
<20260309230128.Wt2SG0NN@steffen%sdaoden.eu>:
...
|I have added code_challenge and that.

(For context, these additions are RFC 7636 "Proof Key for Code
Exchange by OAuth Public Clients".  Now we have also that.)

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to