If 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.
I had followed these steps but was still getting the error.
This was the problem (leaving it here in case someone else encounters it)
I wanted employees to login to the Employee panel and sign into the Google accounts from there. So I had to change the URI to the page with the Employee Panel instead of the wp-admin. I of course changed this in the app setup as well as the Integrations settings of Amelia. It now works fine.
I think this part should be included in the documentation - that the URI should be the link from where the calendars will be synced. Of course, your technical content creators will be able to put this in a better way.
Uros is on vacation so I'll step in for him. We are glad to hear that everything is fine now. And thank you for the suggestion and we checked and this is already in our documentation
Maybe you have missed it somehow. But what matter is that everything is fine now.
If you have any more questions please open a new separate ticket for each question and we will gladly help you there.
For some employees that I have added on the website I am getting the
Redirect URI Mismatch (error 400)I have added the Authorised Redirect URI as https://reboot-wellness.com/wp-admin/admin.php?page=wpamelia-employees
Attached files: WhatsApp Image 2023-07-11 at 18.12.58.jpg
Hello Sandeepa,
Thank you for reaching out to us.
If 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,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and 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
Hello Uroš
I had followed these steps but was still getting the error.
This was the problem (leaving it here in case someone else encounters it)
I wanted employees to login to the Employee panel and sign into the Google accounts from there. So I had to change the URI to the page with the Employee Panel instead of the wp-admin. I of course changed this in the app setup as well as the Integrations settings of Amelia. It now works fine.
I think this part should be included in the documentation - that the URI should be the link from where the calendars will be synced. Of course, your technical content creators will be able to put this in a better way.
Thanks.
Hello Sandeepa,
Uros is on vacation so I'll step in for him. We are glad to hear that everything is fine now. And thank you for the suggestion and we checked and this is already in our documentation
Maybe you have missed it somehow. But what matter is that everything is fine now.
If you have any more questions please open a new separate ticket for each question and we will gladly help you there.
We wish you all the best.
Have a nice day.
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
Hello
Looks like I did miss this. thank you for pointing out the documentation.
so to clarify-
On the App side I will add the multiple URIs
And in the Integration Settings of Amelia, I'll include all the links separated by a ","?
Hello Sandeepa,
Not sure what are you asking us exactly?
In the Google console, you need to add the all URL and in Amelia you need to enter it like this
You can find all information and screenshot on this link https://wpamelia.com/configuring-google-calendar/#Redirect-URI.
Hope this helps.
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