When you see a "Redirect URI mismatch", the URI in Amelia and the URI in Google Developers Console are not the same.
Please go to Amelia Settings/Integrations/Google Calendar and make sure that the URI you see in there is your website's URL, ending with "wp-admin/admin.php?page=wpamelia-employees". For example, if your website is "yourwebsite.com", the redirect URI needs to be this:
Is your website in HTTP or HTTPS? Please note that Google doesn't allow HTTP at this time, so if it's HTTP, you'll need to install an SSL certificate and move your site to HTTPS before you can continue.
After verifying that, please go to Google Developers Console, and in "APIs & Services" go to "Credentials". Under "OAuth 2.0 Client IDs" click on the name of your app:
In there, check the "Authorized redirect URIs" on the bottom of the page. Make sure that the URL has to be the same as it is in Amelia/Settings/Integrations/Google Calendar.
Hello,
I'm trying to connect a employee google calendar from the amelia employee panel (Fig.1).
I've tried with two accounts and I receive the same error. Fig 2 and fig 3.
If I do it from the wp amelia backend it works correctly.
Can you please help to solve the problem?
Best regards
Gianpio
Hello Gianpio,
Thank you for reaching out to us.
When you see a "Redirect URI mismatch", the URI in Amelia and the URI in Google Developers Console are not the same.
Please go to Amelia Settings/Integrations/Google Calendar and make sure that the URI you see in there is your website's URL, ending with "wp-admin/admin.php?page=wpamelia-employees". For example, if your website is "yourwebsite.com", the redirect URI needs to be this:
https://yourwebsite.com/wp-admin/admin.php?page=wpamelia-employees
Is your website in HTTP or HTTPS? Please note that Google doesn't allow HTTP at this time, so if it's HTTP, you'll need to install an SSL certificate and move your site to HTTPS before you can continue.
After verifying that, please go to Google Developers Console, and in "APIs & Services" go to "Credentials". Under "OAuth 2.0 Client IDs" click on the name of your app:
In there, check the "Authorized redirect URIs" on the bottom of the page. Make sure that the URL has to be the same as it is in Amelia/Settings/Integrations/Google Calendar.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables