And removing the part of the link as described just reveals another error page; the link doesn't look like anything in the description; here's what I get:
I will give you instructions to which table in the database you have to modify and which content, but you need to be very careful when you update this table because it can cause the plugin not to work properly if you delete or add something else.
In database, you have to find wp_options table.
In your case it is possible to have different prefix but it will be ended it like your_prefix_options.
Then you have to find option name amelia_settings in this table.
When you find that you have to edit that property and to find in JSON file string redirectURI and you probably find this :
and you have to replace it with this
So basically you need to replace newsite.com with youroldsite.com and it will be shown in Google settings properly. Please note that if you use https you will need to update it also in redirectURI option.
When you finished this please check is the same URL from “Redirect URI” field and on "Create OAuth client ID" section in field Authorized redirect URL's.
Hi,
After following the instructions on that page: https://wpamelia.com/configuring-google-calendar/
I can't get through the last part and get my google calendar synced to Amelia
Clicking the "Sign-in with Google" button reveals this error page:
400. That’s an error.
Error: redirect_uri_mismatch
The redirect URI in the request, http://mywebsite.net/wp-admin/admin.php?page=wpamelia-employees, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/762972409269-c8cj2rfgs9pgqldeh00khv0o0qtm7rj9.apps.googleusercontent.com?project=762972409269
Learn more
Request Details
That’s all we know.
And removing the part of the link as described just reveals another error page; the link doesn't look like anything in the description; here's what I get:
https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http%3A%2F%2Fmywebsite.net%2Fwp-admin%2Fadmin.php%3Fpage%3Dwpamelia-employees&client_id=762900409269-c8cj2rf6f9pgqlde00okhv0o0qtm7rj9.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar&access_type=offline&approval_prompt=force&state=1
I double checked the API part of the help and everything seems as it should be.
How can I fix this?
Thank you
Best regards,
__Yves
Hello Yves.
Thank you for your purchase.
I will give you instructions to which table in the database you have to modify and which content, but you need to be very careful when you update this table because it can cause the plugin not to work properly if you delete or add something else.
In database, you have to find wp_options table.
In your case it is possible to have different prefix but it will be ended it like your_prefix_options.
Then you have to find option name amelia_settings in this table.
When you find that you have to edit that property and to find in JSON file string redirectURI and you probably find this :
and you have to replace it with this
So basically you need to replace newsite.com with youroldsite.com and it will be shown in Google settings properly. Please note that if you use https you will need to update it also in redirectURI option.
When you finished this please check is the same URL from “Redirect URI” field and on "Create OAuth client ID" section in field Authorized redirect URL's.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Thanks Aleks that worked :)
You're welcome, Yves.
Glad to be of service.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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