using allauth with Django and google on localhost

I’m wanting to use the allauth module for third party authentication on a localhost server. I have it working for other social applications, but google will not allow local addresses in the URI redirects (I believe they used to, but have disallowed it). By adding an entry in the hosts file, I am able to redirect an example.com to localhost, and thus satisfy the google requirements.

However, I still get an error when I try it:
Access blocked: Authorization Error
device_id and device_name are required for private IP

Does anyone have this working? If so, could you please provide a roadmap to solve it?