This commit is contained in:
2024-07-10 14:23:11 +05:00
parent 2e43573e02
commit 755718417d
6 changed files with 24 additions and 10 deletions
+5 -3
View File
@@ -1,7 +1,9 @@
const refreshToken =
"1000.da3146d49fa8a399f0c635e74954ff9c.e010dbb1bb605d7e1aa5bf7fc0521f8b";
const clientId = "1000.6ZV07WFOC7PQOY3X109UN55Q9BMBBY";
const clientSecret = "595f5262886a6e81475b533350a81e46fecda57fb5";
process.env.REFRESH_TOKEN ||
"1000.fc5277c1aad3fedb0b11d40835eef9ae.430020841f8e0dc73267dceabfe39606";
const clientId = process.env.CLIENT_ID || "1000.9XUAOPRWN2U880F8WNA8IM9IS2T6IK";
const clientSecret =
process.env.CLIENT_SECRET || "79910650c3b2d3ca2b9c4593880ad5f56d7b0ec818";
const grantType = "refresh_token";
const updateAccessTokenApi = `https://accounts.zoho.com/oauth/v2/token?refresh_token=${refreshToken}&client_id=${clientId}&client_secret=${clientSecret}&grant_type=${grantType}`;