Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "zcrmsdk", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Node SDK for Zoho CRM", | ||
@@ -5,0 +5,0 @@ "main": "lib/js/ZCRMRestClient", |
@@ -12,16 +12,17 @@ ##Node JS SDK for Zoho CRM | ||
Since Zoho CRM APIs are authenticated with OAuth2 standards, you should register your client app with Zoho. To register your app: | ||
1. Visit this page https://accounts.zoho.com/developerconsole. | ||
2. Click on “Add Client ID”. | ||
- Visit this page https://accounts.zoho.com/developerconsole. | ||
3. Enter Client Name, Client Domain and Redirect URI. | ||
- Click on “Add Client ID”. | ||
4. Select the Client Type as "Web based". | ||
- Enter Client Name, Client Domain and Redirect URI. | ||
5. Click “Create”. | ||
- Select the Client Type as "Web based". | ||
6. Your Client app would have been created and displayed by now. | ||
- Click “Create”. | ||
7. The newly registered app's Client ID and Client Secret can be found by clicking Options → Edit. (Options is the three dot icon at the right corner). | ||
- Your Client app would have been created and displayed by now. | ||
- The newly registered app's Client ID and Client Secret can be found by clicking Options → Edit. (Options is the three dot icon at the right corner). | ||
##Installation of Node CRM SDK | ||
@@ -43,6 +44,5 @@ | ||
``` | ||
zcrmsdk will try reading file from **'resources/oauth_configuration.properties'** | ||
``` | ||
@@ -105,12 +105,12 @@ Please fill the values for the following keys alone. | ||
1. Visit https://accounts.zoho.com/developerconsole | ||
- Visit https://accounts.zoho.com/developerconsole | ||
2. Click Options → Self Client of the client for which you wish to authorize. | ||
- Click Options → Self Client of the client for which you wish to authorize. | ||
3. Enter one or more (comma separated) valid Zoho CRM scopes that you wish to authorize in the “Scope” field and choose the time of expiry. Provide “aaaserver.profile.READ” scope along with Zoho CRM scopes. | ||
a. Copy the grant token for backup. | ||
- Enter one or more (comma separated) valid Zoho CRM scopes that you wish to authorize in the “Scope” field and choose the time of expiry. Provide “aaaserver.profile.READ” scope along with Zoho CRM scopes. | ||
- Copy the grant token for backup. | ||
b. Generate refresh_token from grant token by making a POST request with the URL below https://accounts.zoho.com/oauth/v2/token?code={grant_token}&redirect_uri={redirect_uri}&client_id={client_id}&client_secret={client_secret}&grant_type=authorization_code | ||
- Generate refresh_token from grant token by making a POST request with the URL below https://accounts.zoho.com/oauth/v2/token?code={grant_token}&redirect_uri={redirect_uri}&client_id={client_id}&client_secret={client_secret}&grant_type=authorization_code | ||
c. Copy the refresh token for backup. | ||
- Copy the refresh token for backup. | ||
@@ -117,0 +117,0 @@ Please note that the generated grant token is valid only for the stipulated time you chose while generating it. Hence, the access and refresh tokens should be generated within that time. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34249
0