Okay
  Public Ticket #2511199
Bug
Closed

Comments

  •  1
    Dennis started the conversation

    so, we wanted to integrate google calendar. clientid and secret all fine. 

    But the URI redirect is not correct... but i cannot change it??? Cant type in that field, is that a bug? does it need to be changed somewhere else?

    kind regards, Dennis

  • [deleted] replied

    Hello Dennis,

    The only way to change the redirect URI is editing it in your database. 

    Please access your database, and find the wp_options table:

    6172199762.png

    It is possible for this table to have different prefix than wp_ but it will end with options, so something like your_prefix_options. 

    Then you have to find option name amelia_settings in this table.

    1791739968.png

    When you find that you have to edit that property and in the JSON file you need to find the string redirectURI :

    2773446103.png

    So, you need to change that to point to your new site:

    2131454090.png

    So basically you need to replace  youroldsite.com with yournewsite.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 finish this please check is the same URL from “Redirect URI” field and on "Create OAuth client ID" section in field Authorized redirect URL's.

    7826777834.png

    Let me know if this helped!