Step 1: Generate Client id and Client secret
You will need to register your client app before getting started. A registered client app will be assigned a Client ID and a Client Secret which will be used in the OAuth flow. The Client ID is a public identifier for applications. Although it is public, it is best that it is not guessable to prevent attacks on the arbitrary applications possibly. On the other hand, the Client Secret is a secret only known to the application and the authorization server.
Parameter | Description |
scope* | Scope helps you access application data. You can include multiple scopes by separating them with a comma. For example (ZohoCliq. Channels.READ,ZohoCliq.Channels.UPDATE). |
client_id* | The client-id obtained while registering your application. |
state | This parameter is used to maintain the state between the request and callback. |
response_type* | The value of the param response_type should always be code. |
redirect_uri* | It specifies the URL to which the page is redirected along with the code when the user grants an access. |
access-type | Enter the access type as online or offline. online- To generate only the Access token. offline- To generate both the Access and the Refresh Tokens. |
Parameter | Description |
code* | The authorization code obtained while generating the grant token. |
client_id* | The client-id obtained while registering the application. |
client_secret* | The client-secret obtained during the application registration. |
redirect_uri* | Include the redirect URI mentioned while registering your client application. |
grant_type* | authorization_code |
scope | Mention the scope for your extension. |
Parameter | Description |
client_id* | The client_id obtained while registering your application. |
client_secret* | The client_secret obtained while registering your application. |
redirect_uri | The redirect uri mentioned during the client registration. |
grant_type* | refresh_token |
refresh_token* | The refresh token obtained in the previous step. |
scope* | The suitable scope for your extension. |
Writer is a powerful online word processor, designed for collaborative work.