Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid-user-token ? #12

Open
tgensol opened this issue Nov 29, 2016 · 1 comment
Open

invalid-user-token ? #12

tgensol opened this issue Nov 29, 2016 · 1 comment

Comments

@tgensol
Copy link

tgensol commented Nov 29, 2016

Hey guys,

I am trying to use the web version, udpating my mobile application (ionic 1/angularjs1) from firebase 2.4.2 (I was using the new dashboard for weeks, but still with this old version) to the new firebase.

But, from my old token, I always got the error "invalid-user-token : Invalid auth token."

Do I miss something ? Is it working for every provider ? or I had to do it before switching the dashboard ?

Thanks

@tgensol
Copy link
Author

tgensol commented Nov 30, 2016

Looks like the localStorage is not working good on angularJS/ionic , so I always got a null token. I changed the code and it is working now. I already found this issue in angularfire, sometimes the user is not found when the app is started. Using $window instead of window looks to work better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant