Zoho Oauth flow returning invalid client

106 Views Asked by At

I am trying to build a Oauth flow using python Django. The goal is to get the access token for zoho and save it to DB. but at the step where we exchange access token by sending authorization_code, I am getting invalid-client error. I couldn't figure out what's wrong.

I have tried changing to .in domain in token url but that too didn't worked.

1

There are 1 best solutions below

2
ZohoCoder On

Check that you have registered your Django as a Zoho client at:
https://accounts.zoho.com/developerconsole

More generally, the Zoho's api-client setup documentation is currently (April 2023) at: https://www.zoho.com/accounts/protocol/oauth-setup.html