Skip to content

Monthly Archives: March 2017

Error: origin_mismatch when using Google OAuth on a non-localhost domain

Not developing on localhost? Google’s “Authorized JavaScript origins” list can only be configured to use localhost:port (e.g. http://localhost:3000) for development. This poses an annoying problem for those of us that are developing remotely or with a VM. My current setup has me running a Ubuntu VM using VirtualBox, on a Windows 10 host. Since the […]