ManageEngine ServiceDesk Plus
Connection Requirements
Refresh Token
To use OAuth authentication we need a refresh token to authorize properly. In order to generate a refresh token:
Go to the Zoho API Console: https://api-console.zoho.com/ .
Click 'Add client', choose 'Self Client' and click 'Create'.
In the tab 'Generate Code', give SDPOnDemand.assets.READ scope.
Save your Generated Code, Client Secret, Client ID, Client Secret.
Enter the values you’ve copied into the following command (replace placeholders accordingly) and run it:
From the response copy "refresh_token".Example POST command (same as above):curl -X POST "https://accounts.zoho.com/oauth/v2/token?grant_type=authorization_code&code=&client_id=<client_id>&client_secret=<client_secret>"
SSLUse SSL for connection (optional, default: True).Redirect URIThis parameter should be the same redirect URL mentioned while adding the Client.Portal NameIf you have multiple portals in your organization, provide the portal name.Is On Prem?Specify if the SDP instance is on-prem or not. (default: False)Zoho accounts urlYour domain-specific accounts URL.Auth Token (Use only if on-prem)Your token retrieved from your profile.
Please perform a connection test to ensure there is a valid connection to the host.
When the discovery operation is finalized, you will be able to see the details on the Assets page.
Was this helpful?