3

Google sign-in doesn't work. I tried cleaning the cache as mentioned here.
I even tried using a completely different web browser but it still does not work.

localhost 5000 is not a valid domain image

I made sure to mark the domain as authorized but it still does not want to work.

the domain is marked as authorized

When pressing the login button, The popup shows just fine. There is no error whatsoever, but once I choose my email account, the loading spinner shows and the popup closes after some time.

Please someone help me.

Loading spinner

Daniel KODOH
  • 61
  • 3
  • 3

2 Answers2

5

Unfortunately there is no native solution but you can use a third-party service like ngrok to get the job done. And here is a very good tutorial how to achieve that. Local Auth test with ngrock

Pedro Barreto
  • 301
  • 1
  • 6
  • Hello. I thought it would work on localhost because I saw it written somewhere in their docs. Thank you for your response, it really helps. I will be using ngrok. – Daniel KODOH Apr 01 '22 at 00:27
  • Thanks Daniel if you could please vote on my answer I would really appreciate – Pedro Barreto Apr 01 '22 at 00:28
-2

Try adding http://localhost as well to the list of authorized Javascript origins.

Kayef
  • 1
  • 2
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Apr 11 '22 at 05:35