Closed sanketr43 closed 2 years ago
(configuration section)[https://github.com/asciisd/zoho#configuration]
actually, you don't have to re-authenticate every time, follow the config instruction will create a new file inside the storage directory to hold the token and reuse it.
Also please make sure that the file holds both token and refresh token, the refresh token is responsible for renewing the token after expire.
I have done the same configuration as mentioned in the document. But still it won't works.
ok, can you check if the file exists or not?
you should found a file on storage/app/zoho/oauth/tokens/zcrm_oauthtokens.txt
also please confirm that the file contains 4 keys and values: refreshToken
,accessToken
,ExpiryTime
, and userEmailId
Yes this all details are available. but still when i call zoho create/update module details next day. it doesn't work unless i do the authentication.
can anyone help?
ExpiryTime
Hi, The problem is solved ? how?
@AliMehraei check out my comment on #42
I have done setup in laravel for this. But I have to do authentication every day. how to persist the token in this. so after once i never have to generate manaully?