I finally figured it out how to make this darn thing work.
I will probably post it as a plug-in at some point so that we can iterate on this together.
A screenshot:
The same in text format for the copy-pasta warriors out there .
- Authentication: OAuth2 User-Agent Flow
- App ID + App Secret: Zoho API how to register your client.
- Scope: [whatever you need, link], for all of them:
ZohoCRM.users.ALL,ZohoCRM.modules.ALL,ZohoCRM.settings.ALL
- Authentication goes in header:
checked
- Token is returned as querystring:
- Requesting an access token uses Basic Auth:
- Add access_type=offline (Google APIs):
- Use a generic redirect URL (https://[your app]/api/1.1/oauth_redirect):
- Login dialog redirect:
https://accounts.zoho.com/oauth/v2/auth
- Access token endpoint:
https://accounts.zoho.com/oauth/v2/token
- User profile endpoint:
https://www.zohoapis.com/crm/v2/users
- User ID key path:
users
- User email key path:
email