Creating a Custom OAuth App
To obtain an OAuthClientId, OAuthClientSecret, and CallbackURL, create an app linked to your Zoho Inventory account.
Create and Configure a Custom OAuth App
Register your application with Zoho's Developer console. You can create an app linked to your Zoho Inventory account as follows:
- To register your application, go to https://accounts.zoho.com/developerconsole.
- If this is your first Zoho Inventory OAuth app, click GET STARTED. If you have already made at least one OAuth app, click Add Client ID in the top-right corner of the app list.
- Select Server-based Applications.
- Fill the required details in the form.
- Enter a Client Name for your OAuth app and the Homepage URL for your business.
- Click the "+" button and enter a callback URL in the Authorized Redirect URIs.
- If the add-in is running on a web application, set a callback URL that points to the server running the add-in. For example: https://oauth.mysite.com
- If the add-in is running on desktop or headless machine, set a "localhost:<port>" callback URL that points to an active port on the machine running the add-in. For example: https://localhost:33333
- Click CREATE.
- Note the Client ID and Client Secret displayed on the following screen.