I’ve got the Google Social Key Login integration working. However, it’s presently supplying an http redirect URI. I want to keep this https. I have both versions enabled within the google OAuth config. If I disable the http URI, though, I get a redirect_uri_mismatch and it show that it’s still using the http URI.
I suspect that this is because the connection between my load-balancer and the erpnext service is http-only. erpnext effectively only knows http. Is there a workaround for this?
I saw a note somewhere about forcing host_name in site_config.json and that might work but I’m unclear how to get erpnext to pick up that change (this is a helm-based deployment so no ‘bench restart’).
alpine vi /sites/site_config.json
And I could edit the file :
(Above is the whole content of the site_config.json)
I restarted docker just in case with docker down and up
But Google still has the redirect_uri_mismatch
Because it should be: redirect_uri: http://erp.<mydomain>?cmd=frappe.integrations.doctype.google_drive.google_drive.google_callback