Firebase authorized domains not allowing my Svelte project?

Viewed 22

I am using Svelte + Firebase for a web app. However, When I try to authorize my Svelte project URL (it is an unchanged URL, default IP address), the firebase console just doesn't let me. On another computer, I never had this issue, and when I import all the same settings from that device to my home one, nothing changes, still can't seem to get it to work.

To be completely honest, I have no idea what could be any kind of relevant code or screenshots, so if you need anything just tell me what to look for and I will include it in the question.

EDIT: here is the screenshot of my authorized domains:

1 Answers

So Basically just remove the port, thank you Rafael Zasas for helping me figure it out.

the default URL looks something like this: http://198.05.032.0:5000

the port is everything after the ":". Removing it, as well as the colon itself, makes it a valid domain in the authorized domains section in the Firebase Console.

Related