Sign in with Google sign in from localhost using a mobile device/other laptop to test

Viewed 296

I'm using Google sign in for a project and all is working with https://localhost on my machine.

I want to test the website on a mobile and another laptop which is connected to the same local network.

I can connect to the site from mobile using the IP address and the path, however when I try to sign in it comes up with this error

enter image description here

  1. thats an error

Error: invalid_request

Permission denied to generate login hint for target domain

I need a number of devices to demo it. I saw something online saying I needed to use an actual website domain and an IP address can't be used.

Is there a way around this or a best course of action?

1 Answers
Related