asciisd / zoho

Zoho package for Laravel
36 stars 37 forks source link

Not able to configure on localhost/virtualHost #9

Closed akhil-aecor closed 3 years ago

akhil-aecor commented 3 years ago

Hi, can you please provide the steps how to configure this plugin on localhost/virtualhost, and how to skip https issue as well.

aemaddin commented 3 years ago

Hi Akhil,

There is no special configuration to use this library on virtual host or localhost, you can use it like any other plugin,

1 - install package into your Laravel project

composer require asciisd/zoho

2 - add Zoho OAuth and Log folders into your storage by run this command

php artisan zoho:install

3 - after that you need to create new client to continue.

4 - add .env variables from generated client

ZOHO_CLIENT_ID=
ZOHO_CLIENT_SECRET=
ZOHO_REDIRECT_URI=
ZOHO_CURRENT_USER_EMAIL=

5 - generate auth link by run this command and press on the link generated to start Oauth process

php artisan zoho:authentication

finally:-

you will prompted to allow authorization to access your Zoho account from your project, and you will be redirected after successfully auth you your home page with message Zoho CRM has been set up successfully.

aemaddin commented 3 years ago

for https issue I don't know what you mean, can you please send me more details about this issue to be able to help.

Thanks for using the package

aemaddin commented 3 years ago

Hi @akhil-aecor

is that issue solved yet?

aemaddin commented 3 years ago

closed since there is no response, so it seems to be solved.