|
Hi all I have reinstalled my Krayin installation this week to get version 2.1.6. Each time, I try to connect my KrayinCRM to Google Calendar or Google Meet, I receive this message:
All of my settings look fine and I just can't get past this problem. Has anyone experienced this and found a solution please? Steps to reproduce: Fresh installation of Krayin CRM 2.1.6 - this works fine. I can view my CRM and sign in. Everything appears to work. I then try to install the Google Integration via composer. - It appears to install OK. Step 1 - composer require krayin/krayin-google-integration Step 2 - go to laravel-crm directory and run three commands: php artisan migrate Step 3 - followed Bagisto to set up Google+ API and client ID details for authentication. Step 4 - file configurations FILE - routes/breadcrumbs.php FILE - config/krayin-vite.php FILE - .env Added these lines at the bottom of my .env file and added my newly created Google Client ID and Google Client Secret. GOOGLE_CLIENT_ID= Other updates to .env file: APP_ENV=public SMTP setting updated with gmail smtp settings, email address and app password. Updated IMAP IMAP settings updated with correct imap settings, email address and app password. FILE - config/services.php FILE - app/Http/Middleware/VerifyCsrfToken.php File now has three lines in protected $except array
FILE - app/Console/Kernel.php
Final Step - clearing cache php artisan cache:clear Ran two lines and all seems OK I then tested again on a browser Incognito with the below steps and received the same 404 error. In Krayin CRM:
From looking at other issues like this, it mentions that the url may be wrong but in my Google Cloud Console API, I have four Authorised redirect URIs in my Client ID for Web application to cover all options: https://crm.mydomain.com Would anyone have any idea please? I also tried to amend the url in my .env file to add the 'admin' in that url but that didn't succeed either. I cannot think of what I may have missed here. Any help at all would be appreciated. I have spent hours on this so far and everything I try is failing. Thanks |
Replies: 1 comment
|
I got this resolved. I purged the cache on my webserver and then also ran All seems to be working now. |

I got this resolved. I purged the cache on my webserver and then also ran
php artisan cache:clear
php artisan config:cache
All seems to be working now.