"error":"invalid_redirect_uri"
"error":"invalid_redirect_uri"
Hi,
1. I have created a client app at
https://accounts.zoho.com/developerconsole
using dummy redirect url
http://127.0.0.1:8080/
.
2. I then followed the instructions at
https://www.zoho.com/crm/developer/docs/api/auth-request.html
to generate a grant token using the self client option.
3. I then attempted to create an auth token following the instructions at
https://www.zoho.com/crm/developer/docs/api/access-refresh.html
with the following HTTP POST
curl -v --ipv4 -X POST \
--url '
https://accounts.zoho.com/oauth/v2/token?grant_type=authorization_code&client_id=[cientid]&client_secret=[client secret]&redirect_url=http://127.0.0.1:8080/callback&code=
[grant token]'
4. I receive the response "
{"error":"invalid_redirect_uri"}" which is of course correct. It is invalid because it is a dummy which was what the instruction said to enter.
The page
https://help.zoho.com/portal/community/topic/redirect-url
says that "
If you don't have a redirect URL, in this case you can add a dummy URL.
"
Am I misunderstanding the API documentation?
Thank you,
Ted S