angularjs - Is FireBase hosting dependent? -


I have created a very simple firebase + conalier app with an angifier, or instead, I copied the code from examples Is of All this, for now, access and logout through Google is permitted. This code is very easy. I do not think there is a need to post it here.

I tried to host it differently stable files, and found somewhat strange results.

On Google Drive, Dropbox, and Github Although the page was served to all of them, there were no 404 errors in the console and no JS errors, the login was not working itself. What will happen that the program will launch the long screen and the user will enter, but the angular "auth.user" object is taped again.

The same code exactly, when run on Visual Studio (via "View File in Browser") and hosted on Firebase hosting hosting solution, was running as expected, no problem Logging and logging work both.

I was surprised how this could happen, because this is not a "backend" app, or more accurately, it has only one back-end, i.e. firebase services / P>

What's going on here?

Text ">

You must list the domain that will be hosting your app in Firebase settings.

This is in the Login and Author tab, "Authorized Domain for OAuth Redirects" field.

You should use the domains you want to use, such as dropbox.com etc ...

Details here:

Your code will Works on local visual studios because local hosts and 127.0.0.1 are enabled by default.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -