asciisd / zoho

Zoho package for Laravel
36 stars 37 forks source link

Redirect URL problem #15

Closed hungtruongquoc closed 3 years ago

hungtruongquoc commented 3 years ago

Should we read the URL from the configuration file?

https://github.com/asciisd/zoho/blob/7d65824e02f145dc14e9427b516226ec5f7dc5c8/src/Console/Commands/ZohoAuthentication.php#L43

aemaddin commented 3 years ago

Hi Hung Truong,

This url auto generated from your current project settings, so this line will add the application url as you set it inside .env file (APP_URL=https://your-web-site.com), so if you need to change it for any reason you can change it from .env file not from settings.

after that you can just generate the auth from artisan command like. that

php artisan Zoho:authentication

I hope that will help you

Thanks.